|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.repository.metadata.DefaultGraphConflictResolver
@Component(role=GraphConflictResolver.class) public class DefaultGraphConflictResolver
Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus
Field Summary | |
---|---|
protected GraphConflictResolutionPolicy |
policy
artifact, closer to the entry point, is selected |
Fields inherited from interface org.apache.maven.repository.metadata.GraphConflictResolver |
---|
ROLE |
Constructor Summary | |
---|---|
DefaultGraphConflictResolver()
|
Method Summary | |
---|---|
MetadataGraph |
resolveConflicts(MetadataGraph graph,
ArtifactScopeEnum scope)
Cleanses the supplied graph by leaving only one directed versioned edge\ between any two nodes, if multiple exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Requirement(role=GraphConflictResolutionPolicy.class) protected GraphConflictResolutionPolicy policy
Constructor Detail |
---|
public DefaultGraphConflictResolver()
Method Detail |
---|
public MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope) throws GraphConflictResolutionException
GraphConflictResolver
ArtifactScopeEnum
resolveConflicts
in interface GraphConflictResolver
graph
- the "dirty" graph to be simplified via conflict resolutionscope
- scope for which the graph should be resolved
GraphConflictResolutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |