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, wait
sort
public java.lang.String getName()
getName
in interface LatestStrategy
public void setName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public ArtifactInfo findLatest(ArtifactInfo[] infos, java.util.Date date)
LatestStrategy
findLatest
in interface LatestStrategy