org.apache.ivy.plugins.conflict

Class LatestConflictManager

public class LatestConflictManager extends AbstractConflictManager

Nested Class Summary
protected static classLatestConflictManager.IvyNodeArtifactInfo
static classLatestConflictManager.NoConflictResolvedYetException
Constructor Summary
LatestConflictManager()
LatestConflictManager(LatestStrategy strategy)
LatestConflictManager(String name, LatestStrategy strategy)
Method Summary
LatestStrategygetStrategy()
CollectionresolveConflicts(IvyNode parent, Collection conflicts)
voidsetLatest(String strategyName)
To conform to configurator API
voidsetStrategy(LatestStrategy strategy)
protected ArtifactInfo[]toArtifactInfo(Collection conflicts)
StringtoString()

Constructor Detail

LatestConflictManager

public LatestConflictManager()

LatestConflictManager

public LatestConflictManager(LatestStrategy strategy)

LatestConflictManager

public LatestConflictManager(String name, LatestStrategy strategy)

Method Detail

getStrategy

public LatestStrategy getStrategy()

resolveConflicts

public Collection resolveConflicts(IvyNode parent, Collection conflicts)

setLatest

public void setLatest(String strategyName)
To conform to configurator API

Parameters: latestStrategy

setStrategy

public void setStrategy(LatestStrategy strategy)

toArtifactInfo

protected ArtifactInfo[] toArtifactInfo(Collection conflicts)

toString

public String toString()