org.sonatype.aether.util.graph.transformer
Class JavaDependencyContextRefiner

java.lang.Object
  extended by org.sonatype.aether.util.graph.transformer.JavaDependencyContextRefiner
All Implemented Interfaces:
DependencyGraphTransformer

public class JavaDependencyContextRefiner
extends Object
implements 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".

Author:
Benjamin Bentmann
See Also:
DependencyNode.getRequestContext()

Constructor Summary
JavaDependencyContextRefiner()
           
 
Method Summary
 DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaDependencyContextRefiner

public JavaDependencyContextRefiner()
Method Detail

transformGraph

public DependencyNode transformGraph(DependencyNode node,
                                     DependencyGraphTransformationContext context)
                              throws RepositoryException
Specified by:
transformGraph in interface DependencyGraphTransformer
Throws:
RepositoryException


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.