Search in sources :

Example 1 with DependencyGraph

use of com.blackducksoftware.integration.hub.bdio.graph.DependencyGraph in project hub-detect by blackducksoftware.

the class DetectProjectManager method createSimpleBdioDocument.

private SimpleBdioDocument createSimpleBdioDocument(final String codeLocationName, final String projectName, final String projectVersionName, final DetectCodeLocation detectCodeLocation) {
    final ExternalId projectExternalId = detectCodeLocation.getBomToolProjectExternalId();
    final DependencyGraph dependencyGraph = detectCodeLocation.getDependencyGraph();
    return createSimpleBdioDocument(codeLocationName, projectName, projectVersionName, projectExternalId, dependencyGraph);
}
Also used : ExternalId(com.blackducksoftware.integration.hub.bdio.model.externalid.ExternalId) MutableDependencyGraph(com.blackducksoftware.integration.hub.bdio.graph.MutableDependencyGraph) DependencyGraph(com.blackducksoftware.integration.hub.bdio.graph.DependencyGraph)

Aggregations

DependencyGraph (com.blackducksoftware.integration.hub.bdio.graph.DependencyGraph)1 MutableDependencyGraph (com.blackducksoftware.integration.hub.bdio.graph.MutableDependencyGraph)1 ExternalId (com.blackducksoftware.integration.hub.bdio.model.externalid.ExternalId)1