Package org.apache.ivy.plugins.conflict
Class AbstractConflictManager
java.lang.Object
org.apache.ivy.plugins.conflict.AbstractConflictManager
- All Implemented Interfaces:
ConflictManager
,IvySettingsAware
- Direct Known Subclasses:
FixedConflictManager
,LatestConflictManager
,NoConflictManager
,RegexpConflictManager
,StrictConflictManager
public abstract class AbstractConflictManager
extends Object
implements ConflictManager, IvySettingsAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
handleAllBlacklistedRevisions
(DependencyDescriptor dd, Collection<ModuleRevisionId> foundBlacklisted) Method called when all revisions available for a version constraint have been blacklisted, and thus the dependency can't be resolved.void
void
setSettings
(IvySettings settings) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.ivy.plugins.conflict.ConflictManager
resolveConflicts
-
Constructor Details
-
AbstractConflictManager
public AbstractConflictManager()
-
-
Method Details
-
getSettings
-
setSettings
- Specified by:
setSettings
in interfaceIvySettingsAware
-
getName
- Specified by:
getName
in interfaceConflictManager
-
setName
-
toString
-
handleAllBlacklistedRevisions
public void handleAllBlacklistedRevisions(DependencyDescriptor dd, Collection<ModuleRevisionId> foundBlacklisted) Description copied from interface:ConflictManager
Method called when all revisions available for a version constraint have been blacklisted, and thus the dependency can't be resolved.This will never happen if the conflict manager doesn't blacklist any module, so providing an empty implementation in this case is fine.
- Specified by:
handleAllBlacklistedRevisions
in interfaceConflictManager
- Parameters:
dd
- the dependency descriptor for which all revisions are blacklisted.foundBlacklisted
- the list of all ModuleRevisionId found which are blacklisted
-