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 StringbuildId()Returns the build ID for the generated build of the Directory Server.booleanbuildIsDebug()Returnstrueif this is a debug build of the Directory Server that may include additional debugging facilities not available in standard release versions.StringbuildJavaVendor()Returns the vendor for the Java version used to generate this build.StringbuildJavaVersion()Returns the Java version used to generate this build.StringbuildJvmVendor()Returns the vendor for the JVM used to generate this build.StringbuildJvmVersion()Returns the JVM version used to generate this build.StringbuildOs()Returns the operating system on which this build was generated.StringbuildUser()Returns the username of the user that created this build.StringpatchFixIds()Returns the set of bug IDs for fixes included in this build of the Directory Server.static ProductInformationproductInformation()Returns the singleton product information instance.StringproductName()Returns the full product name for the Directory Server, which may contain white space.StringproductShortName()Returns the short product name for the Directory Server, suitable for use in file names.StringscmUrl()Returns the URL of the source repository location on which this build is based.StringversionCompact()Returns the compact version string for this product, suitable for use in path names and similar cases.StringversionFull()Returns the full version string for this product.StringversionPrintable()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()
Returnstrueif this is a debug build of the Directory Server that may include additional debugging facilities not available in standard release versions.- Returns:
trueif 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.
-
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.
-
-