package com.blackduck.integration.detect.tool.impactanalysis.service;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class ImpactAnalysisBatch {
    private final List<ImpactAnalysis> impactAnalyses = new ArrayList<>();

    public ImpactAnalysisBatch() {
    }

    public ImpactAnalysisBatch(ImpactAnalysis... impactAnalyses) {
        this.impactAnalyses.addAll(Arrays.asList(impactAnalyses));
    }

    public void addImpactAnalysis(ImpactAnalysis impactAnalysis) {
        impactAnalyses.add(impactAnalysis);
    }

    public List<ImpactAnalysis> getImpactAnalyses() {
        return impactAnalyses;
    }

}
