Oracle Communications Services Gatekeeper Java API Reference
6.1

E65002-01

com.bea.wlcp.wlng.api.edr.config
Class AlarmConfigDescriptor

java.lang.Object
  extended bycom.bea.wlcp.wlng.api.edr.config.ConfigDescriptor
      extended bycom.bea.wlcp.wlng.api.edr.config.AlarmConfigDescriptor

public class AlarmConfigDescriptor
extends ConfigDescriptor

This class contains a description of a particular alarm.


Field Summary
static java.lang.String ADDITIONAL_INFO
           
static java.lang.String CRITICAL
           
static java.lang.String FIELD_DESCRIPTION
           
static java.lang.String FIELD_ID
           
static java.lang.String FIELD_SEVERITY
           
static java.lang.String MAJOR
           
static java.lang.String MINOR
           
static java.lang.String WARNING
           
 
Fields inherited from class com.bea.wlcp.wlng.api.edr.config.ConfigDescriptor
ATTRIBUTE_CONJUNCTION, CUSTOM_ATTRIBUTE, CUSTOM_ATTRIBUTE_KEY, CUSTOM_ATTRIBUTE_VALUE, CUSTOM_REGEX_ATTRIBUTE, PART_DATA, PART_FILTER
 
Constructor Summary
AlarmConfigDescriptor()
           
 
Method Summary
 java.lang.String getAdditionalInfo()
           
 java.lang.String getDescription()
          Returns the description of the alarm.
 byte[] getDescriptionAsBytes()
          Returns the description of the alarm as an array of bytes.
 long getIdentifier()
          Returns the identifier of the alarm.
 java.lang.String getIdentifierAsString()
          Returns the identifier of the alarm as a string.
 java.lang.String getSeverity()
          Returns the severity of the alarm as a string.
 int getSeverityAsInt()
          Returns the severity of the alarm.
 java.lang.String getSnmpNotificationOIDSuffix()
          Returns the SNMP notification OID suffix for this alarm.
 void setSnmpNotificationOIDSuffix(java.lang.String id)
          Sets the SNMP notification OID suffix.
 java.lang.String toString()
           
 
Methods inherited from class com.bea.wlcp.wlng.api.edr.config.ConfigDescriptor
addDataAttribute, addFilterAttribute, addFilterRegexAttribute, addSource, canBeCached, getDataAttribute, getFilterAttributes, getFilterRegexAttributes, getName, getPosition, getSources, isMatching, setConjunction, setDataAttributes, setName, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDITIONAL_INFO

public static final java.lang.String ADDITIONAL_INFO
See Also:
Constant Field Values

CRITICAL

public static final java.lang.String CRITICAL
See Also:
Constant Field Values

FIELD_DESCRIPTION

public static final java.lang.String FIELD_DESCRIPTION
See Also:
Constant Field Values

FIELD_ID

public static final java.lang.String FIELD_ID
See Also:
Constant Field Values

FIELD_SEVERITY

public static final java.lang.String FIELD_SEVERITY
See Also:
Constant Field Values

MAJOR

public static final java.lang.String MAJOR
See Also:
Constant Field Values

MINOR

public static final java.lang.String MINOR
See Also:
Constant Field Values

WARNING

public static final java.lang.String WARNING
See Also:
Constant Field Values
Constructor Detail

AlarmConfigDescriptor

public AlarmConfigDescriptor()
Method Detail

getAdditionalInfo

public java.lang.String getAdditionalInfo()

getDescription

public java.lang.String getDescription()
Returns the description of the alarm.

Returns:
The description of the alarm.

getDescriptionAsBytes

public byte[] getDescriptionAsBytes()
Returns the description of the alarm as an array of bytes.

Returns:
The description of the alarm as an array of bytes.

getIdentifier

public long getIdentifier()
Returns the identifier of the alarm.

Returns:
The identifier of the alarm.

getIdentifierAsString

public java.lang.String getIdentifierAsString()
Returns the identifier of the alarm as a string.

Returns:
The identifier of the alarm as a string.

getSeverity

public java.lang.String getSeverity()
Returns the severity of the alarm as a string.

Returns:
The severity of the alarm as a string.

getSeverityAsInt

public int getSeverityAsInt()
Returns the severity of the alarm.

Returns:
The severity.

getSnmpNotificationOIDSuffix

public java.lang.String getSnmpNotificationOIDSuffix()
Returns the SNMP notification OID suffix for this alarm.

Returns:
The SNMP notification OID suffix.

setSnmpNotificationOIDSuffix

public void setSnmpNotificationOIDSuffix(java.lang.String id)
Sets the SNMP notification OID suffix. This suffix comes from the alarm.xml file and is composed in GroupConfigDescriptor.


toString

public java.lang.String toString()
Overrides:
toString in class ConfigDescriptor

Oracle Communications Services Gatekeeper Java API Reference
6.1

E65002-01

Copyright © 2008, 2016, Oracle and/or its affiliates. All rights reserved.