public class NearestVersionConflictResolver extends Object implements DependencyGraphTransformer
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 and Description |
---|
NearestVersionConflictResolver() |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node.
|
public DependencyNode transformGraph(DependencyNode node, DependencyGraphTransformationContext context) throws RepositoryException
DependencyGraphTransformer
transformGraph
in interface DependencyGraphTransformer
node
- The root node of the (possibly cyclic!) graph to transform, must not be null
.context
- The graph transformation context, must not be null
.null
.RepositoryException
- If the transformation failed.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.