Search in sources :

Example 1 with DetectBdioWriter

use of com.synopsys.integration.detect.workflow.bdio.DetectBdioWriter in project synopsys-detect by blackducksoftware.

the class OperationFactory method createAggregateBdio1File.

public void createAggregateBdio1File(AggregateCodeLocation aggregateCodeLocation) throws OperationException {
    auditLog.namedPublic("Create Aggregate Bdio 1 File", () -> {
        DetectBdioWriter detectBdioWriter = new DetectBdioWriter(new SimpleBdioFactory(), detectInfo);
        new CreateAggregateBdio1FileOperation(new SimpleBdioFactory(), detectBdioWriter).writeAggregateBdio1File(aggregateCodeLocation);
    });
}
Also used : DetectBdioWriter(com.synopsys.integration.detect.workflow.bdio.DetectBdioWriter) SimpleBdioFactory(com.synopsys.integration.bdio.SimpleBdioFactory) CreateAggregateBdio1FileOperation(com.synopsys.integration.detect.workflow.bdio.CreateAggregateBdio1FileOperation)

Example 2 with DetectBdioWriter

use of com.synopsys.integration.detect.workflow.bdio.DetectBdioWriter in project synopsys-detect by blackducksoftware.

the class OperationFactory method createAggregateBdio2File.

public void createAggregateBdio2File(AggregateCodeLocation aggregateCodeLocation) throws OperationException {
    auditLog.namedInternal("Create Bdio Code Locations", () -> {
        DetectBdioWriter detectBdioWriter = new DetectBdioWriter(new SimpleBdioFactory(), detectInfo);
        new CreateAggregateBdio2FileOperation(new Bdio2Factory(), detectInfo).writeAggregateBdio2File(aggregateCodeLocation);
    });
}
Also used : DetectBdioWriter(com.synopsys.integration.detect.workflow.bdio.DetectBdioWriter) SimpleBdioFactory(com.synopsys.integration.bdio.SimpleBdioFactory) CreateAggregateBdio2FileOperation(com.synopsys.integration.detect.workflow.bdio.CreateAggregateBdio2FileOperation) Bdio2Factory(com.synopsys.integration.blackduck.bdio2.util.Bdio2Factory)

Aggregations

SimpleBdioFactory (com.synopsys.integration.bdio.SimpleBdioFactory)2 DetectBdioWriter (com.synopsys.integration.detect.workflow.bdio.DetectBdioWriter)2 Bdio2Factory (com.synopsys.integration.blackduck.bdio2.util.Bdio2Factory)1 CreateAggregateBdio1FileOperation (com.synopsys.integration.detect.workflow.bdio.CreateAggregateBdio1FileOperation)1 CreateAggregateBdio2FileOperation (com.synopsys.integration.detect.workflow.bdio.CreateAggregateBdio2FileOperation)1