com.unboundid.ldap.sdk
Class Version

java.lang.Object
  extended by com.unboundid.ldap.sdk.Version

@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class Version
extends java.lang.Object

This class provides information about the current version of the UnboundID LDAP SDK for Java.


Field Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRODUCT_NAME

public static final java.lang.String PRODUCT_NAME
The official full product name for the LDAP SDK. For this build, the value is "UnboundID LDAP SDK for Java".

See Also:
Constant Field Values

SHORT_NAME

public static final java.lang.String SHORT_NAME
The short product name for the LDAP SDK. This will not have any spaces. For this build, the value is "unboundid-ldapsdk".

See Also:
Constant Field Values

MAJOR_VERSION

public static final int MAJOR_VERSION
The major version number for the LDAP SDK. For this build, the value is 3.

See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
The minor version number for the LDAP SDK. For this build, the value is 0.

See Also:
Constant Field Values

POINT_VERSION

public static final int POINT_VERSION
The point version number for the LDAP SDK. For this build, the value is 0.

See Also:
Constant Field Values

VERSION_QUALIFIER

public static final java.lang.String VERSION_QUALIFIER
The version qualifier string for the LDAP SDK. It will often be a zero-length string, but may be non-empty for special builds that should be tagged in some way (e.g., "-beta1" or "-rc2"). For this build, the value is "".

See Also:
Constant Field Values

BUILD_TIMESTAMP

public static final java.lang.String BUILD_TIMESTAMP
A timestamp that indicates when this build of the LDAP SDK was generated. For this build, the value is "20150605183012Z".

See Also:
Constant Field Values

REPOSITORY_PATH

public static final java.lang.String REPOSITORY_PATH
The Subversion path associated with the build root directory from which this build of the LDAP SDK was generated. It may be an absolute local filesystem path if the Subversion path isn't available at build time. For this build, the value is "/directory/trunk/ldapsdk".

See Also:
Constant Field Values

REVISION_NUMBER

public static final long REVISION_NUMBER
The source revision number from which this build of the LDAP SDK was generated. It may be -1 if the Subversion revision isn't available at build time. For this build, the value is 20488.

See Also:
Constant Field Values

FULL_VERSION_STRING

public static final java.lang.String FULL_VERSION_STRING
The full version string for the LDAP SDK. For this build, the value is "UnboundID LDAP SDK for Java 3.0.0".

See Also:
Constant Field Values

SHORT_VERSION_STRING

public static final java.lang.String SHORT_VERSION_STRING
The short version string for the LDAP SDK. This will not have any spaces. For this build, the value is "unboundid-ldapsdk-3.0.0".

See Also:
Constant Field Values

NUMERIC_VERSION_STRING

public static final 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. For this build, the version string is "3.0.0".

See Also:
Constant Field Values
Method Detail

main

public static void main(java.lang.String... args)
Prints version information from this class to standard output.

Parameters:
args - The command-line arguments provided to this program.

getVersionLines

public static java.util.List<java.lang.String> getVersionLines()
Retrieves a list of lines containing information about the LDAP SDK version.

Returns:
A list of lines containing information about the LDAP SDK version.