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