public class LatestConflictManager extends AbstractConflictManager
Modifier and Type | Class and Description |
---|---|
protected static class |
LatestConflictManager.IvyNodeArtifactInfo |
static class |
LatestConflictManager.NoConflictResolvedYetException |
Constructor and Description |
---|
LatestConflictManager() |
LatestConflictManager(LatestStrategy strategy) |
LatestConflictManager(java.lang.String name,
LatestStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
LatestStrategy |
getStrategy() |
java.util.Collection |
resolveConflicts(IvyNode parent,
java.util.Collection conflicts)
Resolves the eventual conflicts found in the given collection of IvyNode.
|
void |
setLatest(java.lang.String strategyName)
To conform to configurator API
|
void |
setStrategy(LatestStrategy strategy) |
protected ArtifactInfo[] |
toArtifactInfo(java.util.Collection conflicts) |
java.lang.String |
toString() |
getName, getSettings, handleAllBlacklistedRevisions, setName, setSettings
public LatestConflictManager()
public LatestConflictManager(LatestStrategy strategy)
public LatestConflictManager(java.lang.String name, LatestStrategy strategy)
public java.util.Collection resolveConflicts(IvyNode parent, java.util.Collection conflicts)
ConflictManager
parent
- the ivy node parent for which the conflict is to be resolvedconflicts
- the collection of IvyNode to check for conflictsprotected ArtifactInfo[] toArtifactInfo(java.util.Collection conflicts)
public LatestStrategy getStrategy()
public void setLatest(java.lang.String strategyName)
latestStrategy
- public void setStrategy(LatestStrategy strategy)
public java.lang.String toString()
toString
in class AbstractConflictManager