Class Version
- java.lang.Object
-
- com.xebialabs.deployit.server.api.upgrade.Version
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>
RELEASE_CANDIDATE_CLASSIFIERS
static java.lang.String
VERSION_0
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Version o)
boolean
equals(java.lang.Object o)
java.lang.String
getClassifier()
java.lang.String
getComponent()
int
getDataModel()
int
getMajor()
int
getMicro()
int
getMinor()
java.lang.String
getVersion()
int
hashCode()
boolean
isVersion0()
java.lang.String
toString()
static Version
valueOf(java.lang.String component, java.lang.String versionString)
-
-
-
Field Detail
-
VERSION_0
public static final java.lang.String VERSION_0
- See Also:
- Constant Field Values
-
RELEASE_CANDIDATE_CLASSIFIERS
public static final java.util.List<java.lang.String> RELEASE_CANDIDATE_CLASSIFIERS
-
-
Method Detail
-
valueOf
public static Version valueOf(java.lang.String component, java.lang.String versionString)
-
getComponent
public java.lang.String getComponent()
-
getMajor
public int getMajor()
-
getMinor
public int getMinor()
-
getMicro
public int getMicro()
-
getClassifier
public java.lang.String getClassifier()
-
getDataModel
public int getDataModel()
-
getVersion
public java.lang.String getVersion()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(Version o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Version>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isVersion0
public boolean isVersion0()
-
-