package com.blackduck.integration.detect.workflow.bdio;

import java.io.File;

import com.blackduck.integration.bdio.graph.ProjectDependencyGraph;
import com.blackduck.integration.blackduck.bdio2.model.GitInfo;
import com.blackduck.integration.util.NameVersion;

public class AggregateCodeLocation {
    private final File aggregateFile;
    private final String codeLocationName;
    private final NameVersion projectNameVersion;
    private final GitInfo gitInfo;
    private final ProjectDependencyGraph aggregateDependencyGraph;

    public AggregateCodeLocation(
        File aggregateFile,
        String codeLocationName,
        NameVersion projectNameVersion,
        GitInfo gitInfo, ProjectDependencyGraph aggregateDependencyGraph
    ) {
        this.aggregateFile = aggregateFile;
        this.codeLocationName = codeLocationName;
        this.projectNameVersion = projectNameVersion;
        this.gitInfo = gitInfo;
        this.aggregateDependencyGraph = aggregateDependencyGraph;
    }

    public File getAggregateFile() {
        return aggregateFile;
    }

    public String getCodeLocationName() {
        return codeLocationName;
    }

    public NameVersion getProjectNameVersion() {
        return projectNameVersion;
    }

    public GitInfo getGitInfo() {
        return gitInfo;
    }

    public ProjectDependencyGraph getAggregateDependencyGraph() {
        return aggregateDependencyGraph;
    }
}
