use of com.blackducksoftware.integration.hub.bdio.model.ToolSpdxCreator in project hub-detect by blackducksoftware.
the class DetectProjectManager method createSimpleBdioDocument.
private SimpleBdioDocument createSimpleBdioDocument(final String codeLocationName, final String projectName, final String projectVersionName, final ExternalId projectExternalId, final DependencyGraph dependencyGraph) {
final SimpleBdioDocument simpleBdioDocument = simpleBdioFactory.createSimpleBdioDocument(codeLocationName, projectName, projectVersionName, projectExternalId, dependencyGraph);
final String hubDetectVersion = detectInfo.getDetectVersion();
final ToolSpdxCreator hubDetectCreator = new ToolSpdxCreator("HubDetect", hubDetectVersion);
simpleBdioDocument.billOfMaterials.creationInfo.addSpdxCreator(hubDetectCreator);
return simpleBdioDocument;
}
Aggregations