| org.apache.ivy.plugins.latest.LatestStrategy
All known Subclasses: org.apache.ivy.plugins.latest.AbstractLatestStrategy,
LatestStrategy | public interface LatestStrategy (Code) | | |
findLatest | ArtifactInfo findLatest(ArtifactInfo[] infos, Date date)(Code) | | Finds the latest artifact among the given artifacts info. The definition of 'latest' depends
on the strategy itself. Given artifacts info are all good candidate. If the given date is not
null, then found artifact should not be later than this date.
Parameters: infos - Parameters: date - the latest artifact among the given ones. |
sort | List sort(ArtifactInfo[] infos)(Code) | | Sorts the given artifacts info from the oldest one to the latest one. The definition of
'latest' depends on the strategy itself. Given artifacts info are all good candidate.
Parameters: infos - |
|
|