public final class NoopDependencyGraphTransformer extends Object implements DependencyGraphTransformer
Modifier and Type | Field and Description |
---|---|
static DependencyGraphTransformer |
INSTANCE
A ready-made instance of this dependency graph transformer which can safely be reused throughout an entire
application regardless of multi-threading.
|
Constructor and Description |
---|
NoopDependencyGraphTransformer()
Creates a new instance of this graph transformer.
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node.
|
public static final DependencyGraphTransformer INSTANCE
public NoopDependencyGraphTransformer()
INSTANCE
should be used instead.public DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) throws RepositoryException
DependencyGraphTransformer
transformGraph
in interface DependencyGraphTransformer
node
- The root node of the (possibly cyclic!) graph to transform, must not be null
.context
- The graph transformation context, must not be null
.null
.RepositoryException
- If the transformation failed.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.