public interface LatestStrategy
| Modifier and Type | Method and Description |
|---|---|
ArtifactInfo |
findLatest(ArtifactInfo[] infos,
java.util.Date date)
Finds the latest artifact among the given artifacts info.
|
java.lang.String |
getName() |
java.util.List |
sort(ArtifactInfo[] infos)
Sorts the given artifacts info from the oldest one to the latest one.
|
ArtifactInfo findLatest(ArtifactInfo[] infos, java.util.Date date)
infos - date - java.util.List sort(ArtifactInfo[] infos)
infos - java.lang.String getName()