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 java.lang.Object implements ConflictManager, IvySettingsAware
-
-
Constructor Summary
Constructors Constructor Description AbstractConflictManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()IvySettingsgetSettings()voidhandleAllBlacklistedRevisions(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.voidsetName(java.lang.String name)voidsetSettings(IvySettings settings)java.lang.StringtoString()-
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
-
-
-
-
Method Detail
-
getSettings
public IvySettings getSettings()
-
setSettings
public void setSettings(IvySettings settings)
- Specified by:
setSettingsin interfaceIvySettingsAware
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceConflictManager
-
setName
public void setName(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
handleAllBlacklistedRevisions
public void handleAllBlacklistedRevisions(DependencyDescriptor dd, java.util.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
-
-