|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.plugins.latest.AbstractLatestStrategy
org.apache.ivy.plugins.latest.ComparatorLatestStrategy
public class ComparatorLatestStrategy
| Constructor Summary | |
|---|---|
ComparatorLatestStrategy()
|
|
ComparatorLatestStrategy(java.util.Comparator comparator)
|
|
| Method Summary | |
|---|---|
java.util.Comparator |
getComparator()
|
void |
setComparator(java.util.Comparator comparator)
|
java.util.List |
sort(ArtifactInfo[] infos)
Sorts the given artifacts info from the oldest one to the latest one. |
| Methods inherited from class org.apache.ivy.plugins.latest.AbstractLatestStrategy |
|---|
findLatest, getName, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComparatorLatestStrategy()
public ComparatorLatestStrategy(java.util.Comparator comparator)
| Method Detail |
|---|
public java.util.List sort(ArtifactInfo[] infos)
LatestStrategy
public java.util.Comparator getComparator()
public void setComparator(java.util.Comparator comparator)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||