Interface GraphConflictResolver
- All Known Implementing Classes:
DefaultGraphConflictResolver
Deprecated.
Resolves conflicts in the supplied dependency graph.
Different implementations will implement different conflict resolution policies.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveConflicts
(MetadataGraph graph, ArtifactScopeEnum scope) Deprecated.Cleanses the supplied graph by leaving only one directed versioned edge\ between any two nodes, if multiple exists.
-
Field Details
-
ROLE
Deprecated.
-
-
Method Details
-
resolveConflicts
MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope) throws GraphConflictResolutionException Deprecated.Cleanses the supplied graph by leaving only one directed versioned edge\ between any two nodes, if multiple exists. Uses scope relationships, defined inArtifactScopeEnum
- Parameters:
graph
- the "dirty" graph to be simplified via conflict resolutionscope
- scope for which the graph should be resolved- Returns:
- resulting "clean" graph for the specified scope
- Throws:
GraphConflictResolutionException
- Since:
- 3.0
-