Class 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()
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.eclipse.aether.collection.DependencyGraphTransformer
        Throws:
        org.eclipse.aether.RepositoryException