|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.graph.transformer.ConflictIdSorter
public class ConflictIdSorter
A dependency graph transformer that creates a topological sorting of the conflict ids which have been assigned to the
dependency nodes. Conflict ids are sorted according to the dependency relation induced by the dependency graph. This
transformer will query the key TransformationContextKeys.CONFLICT_IDS
in the transformation context for an
existing mapping of nodes to their conflicts ids. In absence of this map, the transformer will automatically invoke
the ConflictMarker
to calculate the conflict ids. When this transformer has executed, the transformation
context holds a List<Object>
that denotes the topologically sorted conflict ids. The list will be stored
using the key TransformationContextKeys.SORTED_CONFLICT_IDS
.
Constructor Summary | |
---|---|
ConflictIdSorter()
|
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 ConflictIdSorter()
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 |