org.apache.maven.repository.metadata
Class DefaultClasspathTransformation
java.lang.Object
   org.apache.maven.repository.metadata.DefaultClasspathTransformation
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:
- transformin interface- ClasspathTransformation
 
- 
- Parameters:
- dirtyGraph- - dependency graph
- scope- - which classpath to extract
- resolve- - 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-2013 The Apache Software Foundation. All Rights Reserved.