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 |
---|---|---|
|
public int |
compare(ReadyApiVersionInfo o1, ReadyApiVersionInfo o2) |
|
public static int |
compareSuffixIndependently(ReadyApiVersionInfo o1, ReadyApiVersionInfo o2) |
|
public boolean |
equals(java.lang.Object obj) |
|
public int |
getMajorVersion() |
|
public int |
getMiddleVersion() |
|
public int |
getMinorVersion() |
|
public int |
getSuffixAsInt() Translates the suffix string into a int for convenient comparison. |
|
public static boolean |
isNewerThanCurrent(ReadyApiVersionInfo version) |
|
public java.lang.String |
toString() |
|
public java.lang.String |
toStringWithoutSuffix() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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.57.0