@Component(role=ClasspathTransformation.class) public class DefaultClasspathTransformation extends Object implements ClasspathTransformation
ROLE
Constructor and Description |
---|
DefaultClasspathTransformation() |
Modifier and Type | Method and Description |
---|---|
ClasspathContainer |
transform(MetadataGraph dirtyGraph,
ArtifactScopeEnum scope,
boolean resolve)
Transform Graph into a Collection of metadata objects that
could serve as a classpath for a particular scope
|
public DefaultClasspathTransformation()
public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve) throws MetadataGraphTransformationException
ClasspathTransformation
transform
in interface ClasspathTransformation
dirtyGraph
- - dependency graphscope
- - which classpath to extractresolve
- - whether to resolve artifacts.MetadataGraphTransformationException
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.