@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AlertEntry extends ReadOnlyEntry
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_ALERT_GENERATOR
The name of the attribute that contains the fully-qualified name of the
server class that generated the alert notification.
|
static java.lang.String |
ATTR_ALERT_ID
The name of the attribute that contains the unique ID assigned to the alert
notification.
|
static java.lang.String |
ATTR_ALERT_MESSAGE
The name of the attribute that contains a message with additional
information about the alert notification.
|
static java.lang.String |
ATTR_ALERT_SEVERITY
The name of the attribute that contains the severity of the alert
notification.
|
static java.lang.String |
ATTR_ALERT_TIME
The name of the attribute that contains the time that the alert
notification was generated.
|
static java.lang.String |
ATTR_ALERT_TYPE
The name of the attribute that contains the name of the alert type.
|
static java.lang.String |
ATTR_ALERT_TYPE_OID
The name of the attribute that contains the OID assigned to the alert type.
|
static java.lang.String |
OC_ALERT
The name of the structural object class that will be used for entries
containing information about administrative alerts.
|
Constructor and Description |
---|
AlertEntry(Entry entry)
Creates a new alert entry from the provided entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlertGeneratorClass()
Retrieves the fully-qualified name of the class that generated the alert
notification.
|
java.lang.String |
getAlertID()
Retrieves the unique identifier for the alert notification.
|
java.lang.String |
getAlertMessage()
Retrieves the message for the alert notification.
|
AlertSeverity |
getAlertSeverity()
Retrieves the severity for the alert notification.
|
java.util.Date |
getAlertTime()
Retrieves the time that the alert notification was generated.
|
java.lang.String |
getAlertType()
Retrieves the name of the alert type for the alert notification.
|
java.lang.String |
getAlertTypeOID()
Retrieves the OID of the alert type for the alert notification.
|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDN
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
@NotNull public static final java.lang.String OC_ALERT
@NotNull public static final java.lang.String ATTR_ALERT_GENERATOR
@NotNull public static final java.lang.String ATTR_ALERT_ID
@NotNull public static final java.lang.String ATTR_ALERT_MESSAGE
@NotNull public static final java.lang.String ATTR_ALERT_SEVERITY
@NotNull public static final java.lang.String ATTR_ALERT_TIME
@NotNull public static final java.lang.String ATTR_ALERT_TYPE
@NotNull public static final java.lang.String ATTR_ALERT_TYPE_OID
public AlertEntry(@NotNull Entry entry)
entry
- The entry from which to create this alert entry.@Nullable public java.lang.String getAlertGeneratorClass()
null
if it was not included in the alert
entry.@Nullable public java.lang.String getAlertID()
null
if it was not included in the alert entry.@Nullable public java.lang.String getAlertMessage()
null
if it was
not included in the alert entry.@Nullable public AlertSeverity getAlertSeverity()
null
if it was
not included in the alert entry, or if it included an unknown
severity.@Nullable public java.util.Date getAlertTime()
null
if it was not included in the alert entry or if the
alert time value could not be parsed.@Nullable public java.lang.String getAlertType()
null
if it was not included in the alert entry.@Nullable public java.lang.String getAlertTypeOID()
null
if it was not included in the alert entry.