public class ReadyApiVersionInfo
Modifiers | Name | Description |
---|---|---|
static int |
SUFFIX_KIND_OF_OLD_VERSION |
|
static int |
SUFFIX_REALLY_NEW_VERSION |
|
static int |
SUFFIX_REALLY_OLD_VERSION |
|
static ReadyApiVersionInfo |
currentVersion |
Constructor and description |
---|
ReadyApiVersionInfo
(int majorVersion, int middleVersion, int minorVersion, java.lang.String versionSuffix) |
ReadyApiVersionInfo
(java.lang.String version) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
compare(ReadyApiVersionInfo o1, ReadyApiVersionInfo o2) |
|
static int |
compareSuffixIndependently(ReadyApiVersionInfo o1, ReadyApiVersionInfo o2) |
|
boolean |
equals(java.lang.Object obj) |
|
int |
getMajorVersion() |
|
int |
getMiddleVersion() |
|
int |
getMinorVersion() |
|
int |
getSuffixAsInt() Translates the suffix string into a int for convenient comparison. |
|
static boolean |
isNewerThanCurrent(ReadyApiVersionInfo version) |
|
java.lang.String |
toString() |
|
java.lang.String |
toStringWithoutSuffix() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Translates the suffix string into a int for convenient comparison. A larger value is to be interpret as a newer version, similar to the major, middle and minor version ints.
ReadyAPI core SDK 3.10.0