Interface ClasspathTransformation
- All Known Implementing Classes:
DefaultClasspathTransformation
public interface ClasspathTransformation
Helper class to convert a metadata Graph into some form of a classpath
- Author:
- Oleg Gusakov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(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 Details
-
ROLE
-
-
Method Details
-
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
-