All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.finos.legend.sdlc.generation.file.ReducedProjectConfiguration Maven / Gradle / Ivy

// Copyright 2023 Goldman Sachs
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package org.finos.legend.sdlc.generation.file;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.finos.legend.sdlc.domain.model.project.configuration.MetamodelDependency;
import org.finos.legend.sdlc.domain.model.project.configuration.ProjectConfiguration;
import org.finos.legend.sdlc.domain.model.project.configuration.ProjectDependency;
import org.finos.legend.sdlc.domain.model.project.configuration.ProjectStructureVersion;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
class ReducedProjectConfiguration implements ProjectConfiguration
{
    private String projectId;
    private String groupId;
    private String artifactId;

    private ReducedProjectConfiguration()
    {
    }

    private ReducedProjectConfiguration(String projectId, String groupId, String artifactId)
    {
        this.projectId = projectId;
        this.groupId = groupId;
        this.artifactId = artifactId;
    }

    @Override
    public String getProjectId()
    {
        return this.projectId;
    }

    @Override
    public String getGroupId()
    {
        return this.groupId;
    }

    @Override
    public String getArtifactId()
    {
        return this.artifactId;
    }

    @Override
    @JsonIgnore
    public ProjectStructureVersion getProjectStructureVersion()
    {
        return null;
    }

    @Override
    @JsonIgnore
    public List getProjectDependencies()
    {
        return null;
    }

    @Override
    @JsonIgnore
    public List getMetamodelDependencies()
    {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy