|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.graph.transformer.JavaEffectiveScopeCalculator
public class JavaEffectiveScopeCalculator
A dependency graph transformer that handles scope inheritance and conflict resolution among conflicting scopes as
seen in Maven 2.x. For a given set of conflicting nodes, a single scope will be chosen and assigned to all of the
nodes. This transformer will query the keys TransformationContextKeys.CONFLICT_IDS
and
TransformationContextKeys.SORTED_CONFLICT_IDS
for existing information about conflict ids. In absence of this
information, it will automatically invoke the ConflictIdSorter
to calculate it.
Constructor Summary | |
---|---|
JavaEffectiveScopeCalculator()
|
Method Summary | |
---|---|
DependencyNode |
transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaEffectiveScopeCalculator()
Method Detail |
---|
public DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) throws RepositoryException
DependencyGraphTransformer
transformGraph
in interface DependencyGraphTransformer
node
- The root node of the graph to transform, must not be null
.context
- The graph transformation context, must not be null
.
null
.
RepositoryException
- If the transformation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |