Interface ClasspathTransformation
-
- All Known Implementing Classes:
DefaultClasspathTransformation
public interface ClasspathTransformation
Helper class to conver an Md Graph into some form of a classpath- Author:
- Oleg Gusakov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClasspathContainer
transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
Transform Graph into a Collection of metadata objects that could serve as a classpath for a particular scope
-
-
-
Field Detail
-
ROLE
static final String ROLE
-
-
Method Detail
-
transform
ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve) throws MetadataGraphTransformationException
Transform Graph into a Collection of metadata objects that could serve as a classpath for a particular scope- Parameters:
dirtyGraph
- - dependency graphscope
- - which classpath to extractresolve
- - whether to resolve artifacts.- Returns:
- Collection of metadata objects in the linked subgraph of the graph which contains the graph.getEntry() vertice
- Throws:
MetadataGraphTransformationException
-
-