public interface ConflictManager
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
handleAllBlacklistedRevisions(DependencyDescriptor dd,
java.util.Collection<ModuleRevisionId> foundBlacklisted)
Method called when all revisions available for a version constraint have been blacklisted,
and thus the dependency can't be resolved.
|
java.util.Collection<IvyNode> |
resolveConflicts(IvyNode parent,
java.util.Collection<IvyNode> conflicts)
Resolves the eventual conflicts found in the given collection of IvyNode.
|
java.util.Collection<IvyNode> resolveConflicts(IvyNode parent, java.util.Collection<IvyNode> conflicts)
parent
- the ivy node parent for which the conflict is to be resolvedconflicts
- the collection of IvyNode to check for conflictsjava.lang.String getName()
void handleAllBlacklistedRevisions(DependencyDescriptor dd, java.util.Collection<ModuleRevisionId> foundBlacklisted)
This will never happen if the conflict manager doesn't blacklist any module, so providing an empty implementation in this case is fine.
dd
- the dependency descriptor for which all revisions are blacklisted.foundBlacklisted
- the list of all ModuleRevisionId found which are blacklistedCopyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.