public interface DependencyGraphTransformer
Note: Implementations must be stateless.
Warning: Dependency graphs may generally contain cycles. As such a graph transformer that cannot assume for sure that cycles have already been eliminated must gracefully handle cyclic graphs, e.g. guard against infinite recursion.
Modifier and Type | Method and Description |
---|---|
DependencyNode |
transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node.
|
DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) throws RepositoryException
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–2017 The Apache Software Foundation. All rights reserved.