public class VersionDef extends java.lang.Object implements java.lang.Comparable<VersionDef>
| Modifier and Type | Class and Description |
|---|---|
static class |
VersionDef.Lifecycle |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VersionDef anotherVersion)
Compares this VersionDef with the specified VersionDef.
|
java.lang.String |
getDefaultRESTFrameworkVersion() |
java.lang.String |
getDisplayName() |
VersionDef.Lifecycle |
getLifecycle() |
java.lang.String |
getName() |
VersionDef |
getNextVersion()
Gets the first supported version that is later than this version.
|
VersionDef |
getPreviousVersion()
Gets the first supported version that is earlier than this version.
|
boolean |
isSupported() |
public java.lang.String getName()
public java.lang.String getDisplayName()
public VersionDef.Lifecycle getLifecycle()
public java.lang.String getDefaultRESTFrameworkVersion()
public boolean isSupported()
public VersionDef getPreviousVersion()
public VersionDef getNextVersion()
public int compareTo(VersionDef anotherVersion)
compareTo in interface java.lang.Comparable<VersionDef>anotherVersion - the VersionDef to be compared0 if the specified version is equal to
this version; a value less than 0 if this version
is before the specified version; and a value greater than
0 if this version is after the specified version.java.lang.NullPointerException - if anotherVersion is null