Class AlertEntry
java.lang.Object
com.unboundid.ldap.sdk.Entry
com.unboundid.ldap.sdk.ReadOnlyEntry
com.unboundid.ldap.sdk.unboundidds.AlertEntry
- All Implemented Interfaces:
LDIFRecord,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class AlertEntry
extends ReadOnlyEntry
This class provides a data structure for representing an administrative entry
as exposed by the alerts backend in the Directory Server. Alert entries
provide information about warnings, errors, or other significant events that
could impact the availability or function of the Directory Server.
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the attribute that contains the fully-qualified name of the server class that generated the alert notification.static final StringThe name of the attribute that contains the unique ID assigned to the alert notification.static final StringThe name of the attribute that contains a message with additional information about the alert notification.static final StringThe name of the attribute that contains the severity of the alert notification.static final StringThe name of the attribute that contains the time that the alert notification was generated.static final StringThe name of the attribute that contains the name of the alert type.static final StringThe name of the attribute that contains the OID assigned to the alert type.static final StringThe name of the structural object class that will be used for entries containing information about administrative alerts. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the fully-qualified name of the class that generated the alert notification.Retrieves the unique identifier for the alert notification.Retrieves the message for the alert notification.Retrieves the severity for the alert notification.Retrieves the time that the alert notification was generated.Retrieves the name of the alert type for the alert notification.Retrieves the OID of the alert type for the alert notification.Methods inherited from class com.unboundid.ldap.sdk.ReadOnlyEntry
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDNMethods inherited from class com.unboundid.ldap.sdk.Entry
addAttribute, applyModifications, applyModifications, applyModifyDN, applyModifyDN, diff, diff, diff, duplicate, equals, getAttribute, getAttribute, getAttributes, getAttributesWithOptions, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsDate, getAttributeValueAsDN, getAttributeValueAsInteger, getAttributeValueAsLong, getAttributeValueByteArrays, getAttributeValueBytes, getAttributeValues, getDN, getObjectClassAttribute, getObjectClassValues, getParentDN, getParentDNString, getParsedDN, getRDN, getSchema, hasAttribute, hasAttribute, hasAttribute, hasAttributeValue, hasAttributeValue, hasAttributeValue, hasAttributeValue, hashCode, hasObjectClass, intersectEntries, matchesBaseAndScope, matchesBaseAndScope, mergeEntries, removeAttributeValue, removeAttributeValue, setAttribute, toLDIF, toLDIF, toLDIF, toLDIF, toLDIFString, toLDIFString, toLDIFString, toLDIFString, toString, toString
-
Field Details
-
OC_ALERT
The name of the structural object class that will be used for entries containing information about administrative alerts.- See Also:
-
ATTR_ALERT_GENERATOR
The name of the attribute that contains the fully-qualified name of the server class that generated the alert notification.- See Also:
-
ATTR_ALERT_ID
The name of the attribute that contains the unique ID assigned to the alert notification.- See Also:
-
ATTR_ALERT_MESSAGE
The name of the attribute that contains a message with additional information about the alert notification.- See Also:
-
ATTR_ALERT_SEVERITY
The name of the attribute that contains the severity of the alert notification.- See Also:
-
ATTR_ALERT_TIME
The name of the attribute that contains the time that the alert notification was generated.- See Also:
-
ATTR_ALERT_TYPE
The name of the attribute that contains the name of the alert type.- See Also:
-
ATTR_ALERT_TYPE_OID
The name of the attribute that contains the OID assigned to the alert type.- See Also:
-
-
Constructor Details
-
AlertEntry
Creates a new alert entry from the provided entry.- Parameters:
entry- The entry from which to create this alert entry.
-
-
Method Details
-
getAlertGeneratorClass
Retrieves the fully-qualified name of the class that generated the alert notification.- Returns:
- The fully-qualified name of the class that generated the alert
notification, or
nullif it was not included in the alert entry.
-
getAlertID
Retrieves the unique identifier for the alert notification.- Returns:
- The unique identifier for the alert notification, or
nullif it was not included in the alert entry.
-
getAlertMessage
Retrieves the message for the alert notification.- Returns:
- The message for the alert notification, or
nullif it was not included in the alert entry.
-
getAlertSeverity
Retrieves the severity for the alert notification.- Returns:
- The severity for the alert notification, or
nullif it was not included in the alert entry, or if it included an unknown severity.
-
getAlertTime
Retrieves the time that the alert notification was generated.- Returns:
- The time that the alert notification was generated, or
nullif it was not included in the alert entry or if the alert time value could not be parsed.
-
getAlertType
Retrieves the name of the alert type for the alert notification.- Returns:
- The name of the alert type for the alert notification, or
nullif it was not included in the alert entry.
-
getAlertTypeOID
Retrieves the OID of the alert type for the alert notification.- Returns:
- The OID of the alert type for the alert notification, or
nullif it was not included in the alert entry.
-