|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.graph.transformer.ChainedDependencyGraphTransformer
public class ChainedDependencyGraphTransformer
A dependency graph transformer that chains other transformers.
Constructor Summary | |
---|---|
ChainedDependencyGraphTransformer(DependencyGraphTransformer... transformers)
Creates a new transformer that chains the specified transformers. |
Method Summary | |
---|---|
static DependencyGraphTransformer |
newInstance(DependencyGraphTransformer transformer1,
DependencyGraphTransformer transformer2)
Creates a new transformer that chains the specified transformers or simply returns one of them if the other one is null . |
DependencyNode |
transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedDependencyGraphTransformer(DependencyGraphTransformer... transformers)
transformers
- The transformers to chain, may be null
or empty.Method Detail |
---|
public static DependencyGraphTransformer newInstance(DependencyGraphTransformer transformer1, DependencyGraphTransformer transformer2)
null
.
transformer1
- The first transformer of the chain, may be null
.transformer2
- The second transformer of the chain, may be null
.
null
if both input transformers are null
.public DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) throws RepositoryException
DependencyGraphTransformer
transformGraph
in interface DependencyGraphTransformer
node
- The root node of the graph to transform, must not be null
.context
- The graph transformation context, must not be null
.
null
.
RepositoryException
- If the transformation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |