public final class Version
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Version.Type |
| Modifier and Type | Field and Description |
|---|---|
int |
build |
static int |
BUILD |
int |
major |
static int |
MAJOR |
int |
minor |
static int |
MINOR |
int |
patch |
static int |
PATCH |
Version.Type |
release |
static Version.Type |
RELEASE |
| Constructor and Description |
|---|
Version(int major,
int minor,
int patch) |
Version(int major,
int minor,
int patch,
int build) |
Version(int major,
int minor,
int patch,
int build,
Version.Type release) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getReleaseStatus() |
static Version |
getVersion() |
java.lang.String |
getVersionString() |
int |
hashCode() |
java.lang.String |
toString() |
public final int major
public final int minor
public final int patch
public final int build
public final Version.Type release
public static final int MAJOR
public static final int MINOR
public static final int PATCH
public static final int BUILD
public static final Version.Type RELEASE
public Version(int major,
int minor,
int patch)
public Version(int major,
int minor,
int patch,
int build)
public Version(int major,
int minor,
int patch,
int build,
Version.Type release)
public static Version getVersion()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getVersionString()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getReleaseStatus()
public java.lang.String toString()
toString in class java.lang.Object