public final class ChainedDependencyGraphTransformer extends Object implements org.eclipse.aether.collection.DependencyGraphTransformer
Constructor and Description |
---|
ChainedDependencyGraphTransformer(org.eclipse.aether.collection.DependencyGraphTransformer... transformers)
Creates a new transformer that chains the specified transformers.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.aether.collection.DependencyGraphTransformer |
newInstance(org.eclipse.aether.collection.DependencyGraphTransformer transformer1,
org.eclipse.aether.collection.DependencyGraphTransformer transformer2)
Creates a new transformer that chains the specified transformers or simply returns one of them if the other one
is
null . |
org.eclipse.aether.graph.DependencyNode |
transformGraph(org.eclipse.aether.graph.DependencyNode node,
org.eclipse.aether.collection.DependencyGraphTransformationContext context) |
public ChainedDependencyGraphTransformer(org.eclipse.aether.collection.DependencyGraphTransformer... transformers)
transformers
- The transformers to chain, may be null
or empty.public static org.eclipse.aether.collection.DependencyGraphTransformer newInstance(org.eclipse.aether.collection.DependencyGraphTransformer transformer1, org.eclipse.aether.collection.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 org.eclipse.aether.graph.DependencyNode transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context) throws org.eclipse.aether.RepositoryException
transformGraph
in interface org.eclipse.aether.collection.DependencyGraphTransformer
org.eclipse.aether.RepositoryException
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.