Package org.forgerock.opendj.server.core
Class ProductInformation
- java.lang.Object
-
- org.forgerock.opendj.server.core.ProductInformation
-
public final class ProductInformation extends Object
OpenDJ product information, including version number, build information, and references to documentation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
buildId()
Returns the build ID for the generated build of the Directory Server.boolean
buildIsDebug()
Returnstrue
if this is a debug build of the Directory Server that may include additional debugging facilities not available in standard release versions.String
buildJavaVendor()
Returns the vendor for the Java version used to generate this build.String
buildJavaVersion()
Returns the Java version used to generate this build.String
buildJvmVendor()
Returns the vendor for the JVM used to generate this build.String
buildJvmVersion()
Returns the JVM version used to generate this build.String
buildOs()
Returns the operating system on which this build was generated.String
buildUser()
Returns the username of the user that created this build.String
patchFixIds()
Returns the set of bug IDs for fixes included in this build of the Directory Server.static ProductInformation
productInformation()
Returns the singleton product information instance.String
productName()
Returns the full product name for the Directory Server, which may contain white space.String
productShortName()
Returns the short product name for the Directory Server, suitable for use in file names.String
scmUrl()
Returns the URL of the source repository location on which this build is based.int
versionBuildNumber()
Returns the build number for the Directory Server.String
versionCompact()
Returns the compact version string for this product, suitable for use in path names and similar cases.String
versionFull()
Returns the full version string for this product.String
versionPrintable()
Returns the printable version string for this product.
-
-
-
Method Detail
-
productInformation
public static ProductInformation productInformation()
Returns the singleton product information instance.- Returns:
- The singleton product information instance.
-
buildId
public String buildId()
Returns the build ID for the generated build of the Directory Server.- Returns:
- The build ID for the generated build of the Directory Server.
-
buildIsDebug
public boolean buildIsDebug()
Returnstrue
if this is a debug build of the Directory Server that may include additional debugging facilities not available in standard release versions.- Returns:
true
if this is a debug build of the Directory Server that may include additional debugging facilities not available in standard release versions.
-
buildJavaVendor
public String buildJavaVendor()
Returns the vendor for the Java version used to generate this build.- Returns:
- The vendor for the Java version used to generate this build.
-
buildJavaVersion
public String buildJavaVersion()
Returns the Java version used to generate this build.- Returns:
- The Java version used to generate this build.
-
buildJvmVendor
public String buildJvmVendor()
Returns the vendor for the JVM used to generate this build.- Returns:
- The vendor for the JVM used to generate this build.
-
buildJvmVersion
public String buildJvmVersion()
Returns the JVM version used to generate this build.- Returns:
- The JVM version used to generate this build.
-
buildOs
public String buildOs()
Returns the operating system on which this build was generated.- Returns:
- The operating system on which this build was generated.
-
buildUser
public String buildUser()
Returns the username of the user that created this build.- Returns:
- The username of the user that created this build.
-
patchFixIds
public String patchFixIds()
Returns the set of bug IDs for fixes included in this build of the Directory Server.- Returns:
- The set of bug IDs for fixes included in this build of the Directory Server.
-
productName
public String productName()
Returns the full product name for the Directory Server, which may contain white space.- Returns:
- The full product name for the Directory Server.
-
productShortName
public String productShortName()
Returns the short product name for the Directory Server, suitable for use in file names.- Returns:
- The short product name for the Directory Server.
-
scmUrl
public String scmUrl()
Returns the URL of the source repository location on which this build is based.- Returns:
- The URL of the source repository location on which this build is based.
-
versionBuildNumber
public int versionBuildNumber()
Returns the build number for the Directory Server.- Returns:
- The build number for the Directory Server.
-
versionCompact
public String versionCompact()
Returns the compact version string for this product, suitable for use in path names and similar cases.- Returns:
- The compact version string for this product, suitable for use in path names and similar cases.
-
versionFull
public String versionFull()
Returns the full version string for this product.- Returns:
- The full version string for this product.
-
versionPrintable
public String versionPrintable()
Returns the printable version string for this product.- Returns:
- The printable version string for this product.
-
-