|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axway.grapes.server.core.version.Version
public class Version
Version Model Class
| Constructor Summary | |
|---|---|
Version(String version)
|
|
| Method Summary | |
|---|---|
int |
compare(Version other)
Compare two versions |
Boolean |
isBranch()
Check if a version is a branch version |
Boolean |
isRelease()
Check if a version is a release version |
Boolean |
isSnapshot()
Check if a version is a snapshot |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Version(String version)
throws NotHandledVersionException
NotHandledVersionException| Method Detail |
|---|
public Boolean isSnapshot()
public Boolean isRelease()
public Boolean isBranch()
public int compare(Version other)
throws IncomparableException
other -
IncomparableException - is thrown when two versions are not coparablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||