org.apache.maven.repository.metadata
Class DefaultClasspathTransformation
java.lang.Object
org.apache.maven.repository.metadata.DefaultClasspathTransformation
- All Implemented Interfaces:
- ClasspathTransformation
@Component(role=ClasspathTransformation.class)
public class DefaultClasspathTransformation
- extends Object
- implements ClasspathTransformation
default implementation of the metadata classpath transformer
- Author:
- Oleg Gusakov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClasspathTransformation
public DefaultClasspathTransformation()
transform
public ClasspathContainer transform(MetadataGraph dirtyGraph,
ArtifactScopeEnum scope,
boolean resolve)
throws MetadataGraphTransformationException
- 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 interface ClasspathTransformation
- 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
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.