Class JavaDependencyContextRefiner
- java.lang.Object
-
- org.eclipse.aether.util.graph.transformer.JavaDependencyContextRefiner
-
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencyGraphTransformer
public final class JavaDependencyContextRefiner extends java.lang.Object implements org.eclipse.aether.collection.DependencyGraphTransformer
A dependency graph transformer that refines the request context for nodes that belong to the "project" context by appending the classpath type to which the node belongs. For instance, a compile-time project dependency will be assigned the request context "project/compile".- See Also:
DependencyNode.getRequestContext()
-
-
Constructor Summary
Constructors Constructor Description JavaDependencyContextRefiner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.graph.DependencyNode
transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context)
-
-
-
Constructor Detail
-
JavaDependencyContextRefiner
public JavaDependencyContextRefiner()
-
-
Method Detail
-
transformGraph
public org.eclipse.aether.graph.DependencyNode transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context) throws org.eclipse.aether.RepositoryException
- Specified by:
transformGraph
in interfaceorg.eclipse.aether.collection.DependencyGraphTransformer
- Throws:
org.eclipse.aether.RepositoryException
-
-