Class VersionMonitorEntry
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.VersionMonitorEntry
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class VersionMonitorEntry
extends MonitorEntry
This class defines a monitor entry that provides general information about
the Directory Server version.
Information that it may make available includes:
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Information that it may make available includes:
- The full Directory Server version string, which may contain spaces.
- The compact Directory Server version string, which will not contain any spaces and may use a more compact representation than the full version string.
- The Directory Server product name.
- A compact representation of the Directory Server product name.
- The server major version number.
- The server minor version number.
- The server point version number.
- A version qualifier string which may provide a more descriptive name for the build of the server.
- The server build ID string.
- The server promoted build number.
- The source control revision number for the source used to build the server.
- A list of the bugfix IDs for any special fixes included in the server.
MonitorManager.getVersionMonitorEntry(com.unboundid.ldap.sdk.LDAPConnection) method.
This entry provides specific methods for accessing this version information
(e.g., the getFullVersion() method can be used to
retrieve the full version string for the server). Alternately, this
information may be accessed using the generic API. See the
MonitorManager class documentation for an example that demonstrates
the use of the generic API for accessing monitor data.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe structural object class used in version monitor entries. -
Constructor Summary
ConstructorsConstructorDescriptionVersionMonitorEntry(Entry entry) Creates a new version monitor entry from the provided entry. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the Berkeley DB Java Edition library version string.Retrieves the Directory Server build ID string.Retrieves the Directory Server promoted build number.Retrieves a compact representation of the Directory Server version string.Indicates whether the server is running in FIPS 140-2-compliant mode.Indicates whether the server is running in FIPS 140-3-compliant mode.Indicates whether the server is running in FIPS-compliant mode.Retrieves a space-delimited list of the bugfix IDs for special fixes included in the Directory Server.Retrieves the full Directory Server version string.Retrieves the Groovy library version string.Retrieves the jzlib library version string.Retrieves the UnboundID LDAP SDK for Java library version string.Retrieves the Directory Server major version number.Retrieves the Directory Server minor version number.Retrieves the set of parsed monitor attributes for this monitor entry, mapped from a unique identifier (in all lowercase characters) to the corresponding monitor attribute.Retrieves a human-readable description name for this monitor entry.Retrieves a human-readable display name for this monitor entry.Retrieves the Directory Server point version number.Retrieves the Directory Server product name (e.g., "Ping Identity Directory Server").Retrieves a string that identifies the source revision from which the server was built.Deprecated.Retrieves the UnboundID Server SDK library version string.Retrieves the Directory Server short product name (e.g., "Ping-Identity-DS").Retrieves the SNMP4J agent library version string.Retrieves the SNMP4J AgentX library version string.Retrieves the SNMP4J library version string.Retrieves the Directory Server version qualifier string (e.g., "-beta1").Methods inherited from class com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString
-
Field Details
-
VERSION_MONITOR_OC
The structural object class used in version monitor entries.- See Also:
-
-
Constructor Details
-
VersionMonitorEntry
Creates a new version monitor entry from the provided entry.- Parameters:
entry- The entry to be parsed as a version monitor entry. It must not benull.
-
-
Method Details
-
getBuildID
Retrieves the Directory Server build ID string.- Returns:
- The Directory Server build ID string, or
nullif it was not included in the monitor entry.
-
getBuildNumber
Retrieves the Directory Server promoted build number.- Returns:
- The Directory Server promoted build number, or
nullif it was not included in the monitor entry.
-
getCompactVersion
Retrieves a compact representation of the Directory Server version string. It will not contain any spaces.- Returns:
- A compact representation of the Directory Server version string,
or
nullif it was not included in the monitor entry.
-
getFIPSCompliantMode
Indicates whether the server is running in FIPS-compliant mode.- Returns:
Boolean.TRUEif the server is running in FIPS 140-2 or FIPS 140-3-compliant mode,Boolean.FALSEif the server is not running in FIPS-compliant mode, ornullif it was not included in the monitor entry.
-
getFIPS1402CompliantMode
Indicates whether the server is running in FIPS 140-2-compliant mode.- Returns:
Boolean.TRUEif the server is running in FIPS 140-2-compliant mode,Boolean.FALSEif the server is not running in FIPS 140-2-compliant mode, ornullif it was not included in the monitor entry.
-
getFIPS1403CompliantMode
Indicates whether the server is running in FIPS 140-3-compliant mode.- Returns:
Boolean.TRUEif the server is running in FIPS 140-3-compliant mode,Boolean.FALSEif the server is not running in FIPS 140-3-compliant mode, ornullif it was not included in the monitor entry.
-
getFixIDs
Retrieves a space-delimited list of the bugfix IDs for special fixes included in the Directory Server.- Returns:
- A space-delimited list of the bugfix IDs for special fixes
included in the Directory Server, or
nullif it was not included in the monitor entry.
-
getFullVersion
Retrieves the full Directory Server version string.- Returns:
- The full Directory Server version string, or
nullif it was not included in the monitor entry.
-
getGroovyVersion
Retrieves the Groovy library version string.- Returns:
- The Groovy library version string, or
nullif it was not included in the monitor entry.
-
getBerkeleyDBJEVersion
Retrieves the Berkeley DB Java Edition library version string.- Returns:
- The Berkeley DB Java Edition library version string, or
nullif it was not included in the monitor entry.
-
getJZLibVersion
Retrieves the jzlib library version string.- Returns:
- The jzlib library version string, or
nullif it was not included in the monitor entry.
-
getLDAPSDKVersion
Retrieves the UnboundID LDAP SDK for Java library version string.- Returns:
- The UnboundID LDAP SDK for Java library version string, or
nullif it was not included in the monitor entry.
-
getMajorVersion
Retrieves the Directory Server major version number.- Returns:
- The Directory Server major version number, or
nullif it was not included in the monitor entry.
-
getMinorVersion
Retrieves the Directory Server minor version number.- Returns:
- The Directory Server minor version number, or
nullif it was not included in the monitor entry.
-
getPointVersion
Retrieves the Directory Server point version number.- Returns:
- The Directory Server point version number, or
nullif it was not included in the monitor entry.
-
getProductName
Retrieves the Directory Server product name (e.g., "Ping Identity Directory Server").- Returns:
- The Directory Server product name, or
nullif it was not included in the monitor entry.
-
getRevisionNumber
Deprecated.UsegetRevisionID()instead, as the version control system might not use numeric revision identifiers.Retrieves the source revision number from which the Directory Server was built.- Returns:
- The source revision number from which the Directory Server was
built, or
nullif it was not included in the monitor entry or if it was not numeric.
-
getRevisionID
Retrieves a string that identifies the source revision from which the server was built.- Returns:
- A string that identifies the source revision from which the server was built.
-
getServerSDKVersion
Retrieves the UnboundID Server SDK library version string.- Returns:
- The UnboundID Server SDK library version string, or
nullif it was not included in the monitor entry.
-
getShortProductName
Retrieves the Directory Server short product name (e.g., "Ping-Identity-DS").- Returns:
- The Directory Server short product name, or
nullif it was not included in the monitor entry.
-
getSNMP4JVersion
Retrieves the SNMP4J library version string.- Returns:
- The SNMP4J library version string, or
nullif it was not included in the monitor entry.
-
getSNMP4JAgentVersion
Retrieves the SNMP4J agent library version string.- Returns:
- The SNMP4J agent library version string, or
nullif it was not included in the monitor entry.
-
getSNMP4JAgentXVersion
Retrieves the SNMP4J AgentX library version string.- Returns:
- The SNMP4J AgentX library version string, or
nullif it was not included in the monitor entry.
-
getVersionQualifier
Retrieves the Directory Server version qualifier string (e.g., "-beta1").- Returns:
- The Directory Server version qualifier string, or
nullif it was not included in the monitor entry.
-
getMonitorDisplayName
Retrieves a human-readable display name for this monitor entry.- Overrides:
getMonitorDisplayNamein classMonitorEntry- Returns:
- A human-readable display name for this monitor entry.
-
getMonitorDescription
Retrieves a human-readable description name for this monitor entry.- Overrides:
getMonitorDescriptionin classMonitorEntry- Returns:
- A human-readable description name for this monitor entry.
-
getMonitorAttributes
Retrieves the set of parsed monitor attributes for this monitor entry, mapped from a unique identifier (in all lowercase characters) to the corresponding monitor attribute.- Overrides:
getMonitorAttributesin classMonitorEntry- Returns:
- The set of parsed monitor attributes for this monitor entry.
-
getRevisionID()instead, as the version control system might not use numeric revision identifiers.