Class ManagedDependencyContextRefiner
java.lang.Object
org.eclipse.aether.internal.impl.scope.ManagedDependencyContextRefiner
- All Implemented Interfaces:
- DependencyGraphTransformer
public final class ManagedDependencyContextRefiner
extends Object
implements DependencyGraphTransformer
A dependency graph transformer that refines the request context for nodes that belong to the "project" context by
 appending the buildpath type to which the node belongs. For instance, a compile-time project dependency will be
 assigned the request context "project/compile".
 
 This class also "bridges" between DependencyScope and Resolver that uses plain string labels for scopes.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiontransformGraph(DependencyNode node, DependencyGraphTransformationContext context) Transforms the dependency graph denoted by the specified root node.
- 
Constructor Details- 
ManagedDependencyContextRefiner
 
- 
- 
Method Details- 
transformGraphpublic DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) Description copied from interface:DependencyGraphTransformerTransforms the dependency graph denoted by the specified root node. The transformer may directly change the provided input graph or create a new graph, the former is recommended for performance reasons.- Specified by:
- transformGraphin interface- DependencyGraphTransformer
- Parameters:
- node- The root node of the (possibly cyclic!) 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.
 
 
-