public abstract class AbstractLatestStrategy extends java.lang.Object implements LatestStrategy
| Constructor and Description |
|---|
AbstractLatestStrategy() |
| 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() |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsortpublic java.lang.String getName()
getName in interface LatestStrategypublic void setName(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Objectpublic ArtifactInfo findLatest(ArtifactInfo[] infos, java.util.Date date)
LatestStrategyfindLatest in interface LatestStrategy