@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class VersionMonitorEntry extends MonitorEntry
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.
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.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
VERSION_MONITOR_OC
The structural object class used in version monitor entries.
|
Constructor and Description |
---|
VersionMonitorEntry(Entry entry)
Creates a new version monitor entry from the provided entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBerkeleyDBJEVersion()
Retrieves the Berkeley DB Java Edition library version string.
|
java.lang.String |
getBuildID()
Retrieves the Directory Server build ID string.
|
java.lang.Long |
getBuildNumber()
Retrieves the Directory Server promoted build number.
|
java.lang.String |
getCompactVersion()
Retrieves a compact representation of the Directory Server version string.
|
java.lang.String |
getFixIDs()
Retrieves a space-delimited list of the bugfix IDs for special fixes
included in the Directory Server.
|
java.lang.String |
getFullVersion()
Retrieves the full Directory Server version string.
|
java.lang.String |
getGroovyVersion()
Retrieves the Groovy library version string.
|
java.lang.String |
getJZLibVersion()
Retrieves the jzlib library version string.
|
java.lang.String |
getLDAPSDKVersion()
Retrieves the UnboundID LDAP SDK for Java library version string.
|
java.lang.Long |
getMajorVersion()
Retrieves the Directory Server major version number.
|
java.lang.Long |
getMinorVersion()
Retrieves the Directory Server minor version number.
|
java.util.Map<java.lang.String,MonitorAttribute> |
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.
|
java.lang.String |
getMonitorDescription()
Retrieves a human-readable description name for this monitor entry.
|
java.lang.String |
getMonitorDisplayName()
Retrieves a human-readable display name for this monitor entry.
|
java.lang.Long |
getPointVersion()
Retrieves the Directory Server point version number.
|
java.lang.String |
getProductName()
Retrieves the Directory Server product name (e.g., "Ping Identity Directory
Server").
|
java.lang.String |
getRevisionID()
Retrieves a string that identifies the source revision from which the
server was built.
|
java.lang.Long |
getRevisionNumber()
Deprecated.
Use
getRevisionID() instead, as the version control
system might not use numeric revision identifiers. |
java.lang.String |
getServerSDKVersion()
Retrieves the UnboundID Server SDK library version string.
|
java.lang.String |
getShortProductName()
Retrieves the Directory Server short product name (e.g.,
"Ping-Identity-DS").
|
java.lang.String |
getSNMP4JAgentVersion()
Retrieves the SNMP4J agent library version string.
|
java.lang.String |
getSNMP4JAgentXVersion()
Retrieves the SNMP4J AgentX library version string.
|
java.lang.String |
getSNMP4JVersion()
Retrieves the SNMP4J library version string.
|
java.lang.String |
getVersionQualifier()
Retrieves the Directory Server version qualifier string (e.g., "-beta1").
|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString
@NotNull protected static final java.lang.String VERSION_MONITOR_OC
public VersionMonitorEntry(@NotNull Entry entry)
entry
- The entry to be parsed as a version monitor entry. It must
not be null
.@Nullable public java.lang.String getBuildID()
null
if it was
not included in the monitor entry.@Nullable public java.lang.Long getBuildNumber()
null
if it
was not included in the monitor entry.@Nullable public java.lang.String getCompactVersion()
null
if it was not included in the monitor entry.@Nullable public java.lang.String getFixIDs()
null
if it was not
included in the monitor entry.@Nullable public java.lang.String getFullVersion()
null
if it
was not included in the monitor entry.@Nullable public java.lang.String getGroovyVersion()
null
if it was not
included in the monitor entry.@Nullable public java.lang.String getBerkeleyDBJEVersion()
null
if it was not included in the monitor entry.@Nullable public java.lang.String getJZLibVersion()
null
if it was not
included in the monitor entry.@Nullable public java.lang.String getLDAPSDKVersion()
null
if it was not included in the monitor entry.@Nullable public java.lang.Long getMajorVersion()
null
if it
was not included in the monitor entry.@Nullable public java.lang.Long getMinorVersion()
null
if it
was not included in the monitor entry.@Nullable public java.lang.Long getPointVersion()
null
if it
was not included in the monitor entry.@Nullable public java.lang.String getProductName()
null
if it was not
included in the monitor entry.@Deprecated @Nullable public java.lang.Long getRevisionNumber()
getRevisionID()
instead, as the version control
system might not use numeric revision identifiers.null
if it was not included in the monitor
entry or if it was not numeric.@Nullable public java.lang.String getRevisionID()
@Nullable public java.lang.String getServerSDKVersion()
null
if it was not included in the monitor entry.@Nullable public java.lang.String getShortProductName()
null
if it was
not included in the monitor entry.@Nullable public java.lang.String getSNMP4JVersion()
null
if it was not
included in the monitor entry.@Nullable public java.lang.String getSNMP4JAgentVersion()
null
if it was
not included in the monitor entry.@Nullable public java.lang.String getSNMP4JAgentXVersion()
null
if it
was not included in the monitor entry.@Nullable public java.lang.String getVersionQualifier()
null
if
it was not included in the monitor entry.@NotNull public java.lang.String getMonitorDisplayName()
getMonitorDisplayName
in class MonitorEntry
@NotNull public java.lang.String getMonitorDescription()
getMonitorDescription
in class MonitorEntry
@NotNull public java.util.Map<java.lang.String,MonitorAttribute> getMonitorAttributes()
getMonitorAttributes
in class MonitorEntry