org.sonatype.aether.util.graph.transformer
Class NoopDependencyGraphTransformer
java.lang.Object
org.sonatype.aether.util.graph.transformer.NoopDependencyGraphTransformer
- All Implemented Interfaces:
- DependencyGraphTransformer
public class NoopDependencyGraphTransformer
- extends Object
- implements DependencyGraphTransformer
A dependency graph transformer that does nothing.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DependencyGraphTransformer INSTANCE
NoopDependencyGraphTransformer
public NoopDependencyGraphTransformer()
transformGraph
public DependencyNode transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
throws RepositoryException
- Description copied from interface:
DependencyGraphTransformer
- Transforms the dependency graph denoted by the specified root node. The transformer may directly change the
provided input graph or create a new graph.
- Specified by:
transformGraph
in interface DependencyGraphTransformer
- Parameters:
node
- The root node of the graph to transform, must not be null
.context
- The graph transformation context, must not be null
.
- Returns:
- The result graph of the transformation, never
null
.
- Throws:
RepositoryException
- If the transformation failed.
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.