Class DefaultClasspathTransformation
java.lang.Object
org.apache.maven.repository.metadata.DefaultClasspathTransformation
- All Implemented Interfaces:
 ClasspathTransformation
@Named
@Singleton
public class DefaultClasspathTransformation
extends Object
implements ClasspathTransformation
default implementation of the metadata classpath transformer
- Author:
 - Oleg Gusakov
 
- 
Field Summary
Fields inherited from interface org.apache.maven.repository.metadata.ClasspathTransformation
ROLE - 
Constructor Summary
Constructors - 
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 
- 
Constructor Details
- 
DefaultClasspathTransformation
public DefaultClasspathTransformation() 
 - 
 - 
Method Details
- 
transform
public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve) throws MetadataGraphTransformationException Description copied from interface:ClasspathTransformationTransform Graph into a Collection of metadata objects that could serve as a classpath for a particular scope- Specified by:
 transformin interfaceClasspathTransformation- 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
 
 -