@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 path to the LDAP SDK source code in the repository.
|
static java.lang.String |
REPOSITORY_TYPE
The type of repository from which the source code used to build the LDAP
SDK was retrieved.
|
static java.lang.String |
REPOSITORY_URL
The URL for the repository from which the source code used to build the
LDAP SDK was retrieved.
|
static java.lang.String |
REVISION_ID
The string representation of the source revision from which this build of
the LDAP SDK was generated.
|
static long |
REVISION_NUMBER
Deprecated.
Use the
REVISION_ID property instead, since it can
handle non-numeric revision identifiers. |
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_TYPE
public static final java.lang.String REPOSITORY_URL
public static final java.lang.String REPOSITORY_PATH
public static final java.lang.String REVISION_ID
@Deprecated public static final long REVISION_NUMBER
REVISION_ID
property instead, since it can
handle non-numeric revision identifiers.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()