org.apache.maven.repository.metadata
Interface ClasspathTransformation
- All Known Implementing Classes:
- DefaultClasspathTransformation
public interface ClasspathTransformation
Helper class to conver an Md Graph into some form of a classpath
- Author:
- Oleg Gusakov
ROLE
static final String ROLE
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
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.