@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class Version extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUILD_TIMESTAMP
A timestamp that indicates when this build of the LDAP SDK was generated.
|
static java.lang.String |
FULL_VERSION_STRING
The full version string for the LDAP SDK.
|
static int |
MAJOR_VERSION
The major version number for the LDAP SDK.
|
static int |
MINOR_VERSION
The minor version number for the LDAP SDK.
|
static java.lang.String |
NUMERIC_VERSION_STRING
The version number string for the LDAP SDK, which contains just the major,
minor, and point version, and optional version qualifier.
|
static int |
POINT_VERSION
The point version number for the LDAP SDK.
|
static java.lang.String |
PRODUCT_NAME
The official full product name for the LDAP SDK.
|
static java.lang.String |
REPOSITORY_PATH
The Subversion path associated with the build root directory from which
this build of the LDAP SDK was generated.
|
static long |
REVISION_NUMBER
The source revision number from which this build of the LDAP SDK was
generated.
|
static java.lang.String |
SHORT_NAME
The short product name for the LDAP SDK.
|
static java.lang.String |
SHORT_VERSION_STRING
The short version string for the LDAP SDK.
|
static java.lang.String |
VERSION_QUALIFIER
The version qualifier string for the LDAP SDK.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getVersionLines()
Retrieves a list of lines containing information about the LDAP SDK
version.
|
static void |
main(java.lang.String... args)
Prints version information from this class to standard output.
|
public static final java.lang.String PRODUCT_NAME
public static final java.lang.String SHORT_NAME
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static final int POINT_VERSION
public static final java.lang.String VERSION_QUALIFIER
public static final java.lang.String BUILD_TIMESTAMP
public static final java.lang.String REPOSITORY_PATH
public static final long REVISION_NUMBER
public static final java.lang.String FULL_VERSION_STRING
public static final java.lang.String SHORT_VERSION_STRING
public static final java.lang.String NUMERIC_VERSION_STRING
public static void main(java.lang.String... args)
args
- The command-line arguments provided to this program.public static java.util.List<java.lang.String> getVersionLines()