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()voidhandleAllBlacklistedRevisions(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.voidvoidsetSettings(IvySettings settings) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ConflictManager
resolveConflicts
-
Constructor Details
-
AbstractConflictManager
public AbstractConflictManager()
-
-
Method Details
-
getSettings
-
setSettings
- Specified by:
setSettingsin interfaceIvySettingsAware
-
getName
- Specified by:
getNamein interfaceConflictManager
-
setName
-
toString
-
handleAllBlacklistedRevisions
public void handleAllBlacklistedRevisions(DependencyDescriptor dd, Collection<ModuleRevisionId> foundBlacklisted) Description copied from interface:ConflictManagerMethod 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:
handleAllBlacklistedRevisionsin interfaceConflictManager- Parameters:
dd- the dependency descriptor for which all revisions are blacklisted.foundBlacklisted- the list of all ModuleRevisionId found which are blacklisted
-