|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axway.grapes.server.core.VersionsHandler
public class VersionsHandler
Versions Handler
This class handles the versions retrieval, sort & the rules regarding version the update.
| Constructor Summary | |
|---|---|
VersionsHandler(RepositoryHandler repoHandler)
|
|
| Method Summary | |
|---|---|
String |
getLastRelease(Collection<String> versions)
Find-out the last release version in a list of version (regarding Axway Conventions) |
String |
getLastVersion(Collection<String> versions)
Find-out the last version in a list of version |
boolean |
isUpToDate(DbArtifact artifact)
Check if the current version match the last release or the last snapshot one |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionsHandler(RepositoryHandler repoHandler)
| Method Detail |
|---|
public boolean isUpToDate(DbArtifact artifact)
artifact -
public String getLastRelease(Collection<String> versions)
throws NotHandledVersionException,
IncomparableException
versions -
NotHandledVersionException
IncomparableException
public String getLastVersion(Collection<String> versions)
throws NotHandledVersionException,
IncomparableException
versions -
NotHandledVersionException
IncomparableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||