Package org.apache.ivy.plugins.conflict
Class StrictConflictManager
java.lang.Object
org.apache.ivy.plugins.conflict.AbstractConflictManager
org.apache.ivy.plugins.conflict.StrictConflictManager
- All Implemented Interfaces:
ConflictManager
,IvySettingsAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveConflicts
(IvyNode parent, Collection<IvyNode> conflicts) Resolves the eventual conflicts found in the given collection of IvyNode.Methods inherited from class org.apache.ivy.plugins.conflict.AbstractConflictManager
getName, getSettings, handleAllBlacklistedRevisions, setName, setSettings, toString
-
Constructor Details
-
StrictConflictManager
public StrictConflictManager()
-
-
Method Details
-
resolveConflicts
Description copied from interface:ConflictManager
Resolves the eventual conflicts found in the given collection of IvyNode. This method return a Collection of IvyNode which have not been evicted. The given conflicts Collection contains at least one IvyNode. This method can be called with IvyNodes which are not yet loaded. If this conflict manager is not able to resolve conflicts with the current data found in the IvyNodes and need them to be fully loaded, it will return null to indicate that no conflict resolution has been done.- Parameters:
parent
- the ivy node parent for which the conflict is to be resolvedconflicts
- the collection of IvyNode to check for conflicts- Returns:
- a Collection of IvyNode which have not been evicted, or null if conflict management resolution is not possible yet
-