public interface NotificationEvent extends Event
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_TYPE_ALERT
constant to represent the Alert event type
|
static String |
EVENT_TYPE_EVENT
constant to represent the Event event type
|
static String |
EVENT_TYPE_TCA
constant to represent the TCA event type
|
static int |
OBSERVATIONAL_STATE_DELETED |
static int |
OBSERVATIONAL_STATE_OBSERVED |
static int |
OBSERVATIONAL_STATE_RESOLVED |
static int |
OBSERVATIONAL_STATE_UNOBSERVED |
static int |
OPERATIONAL_STATE_RUNNING |
static int |
OPERATIONAL_STATE_STARTED |
static int |
OPERATIONAL_STATE_STARTING |
static int |
OPERATIONAL_STATE_STOPPED |
static int |
OPERATIONAL_STATE_STOPPING |
static int |
OPERATIONAL_STATE_SUSPENDED |
static int |
OPERATIONAL_STATE_SUSPENDING |
static int |
OPERATIONAL_STATE_UNKNOWN |
static int |
SEVERITY_TYPE_CRITICAL
constant to represent the CRITICAL severity type
|
static int |
SEVERITY_TYPE_FATAL
constant to represent the FATAL severity type
|
static int |
SEVERITY_TYPE_INFO
constant to represent the INFO severity type
|
static int |
SEVERITY_TYPE_MAJOR
constant to represent the MAJOR severity type
|
static int |
SEVERITY_TYPE_MINOR
constant to represent the MINOR severity type
|
static int |
SEVERITY_TYPE_WARNING
constant to represent the WARNING severity type
|
COMPONENT_TYPE_BPEL, COMPONENT_TYPE_COLLABORATION, COMPONENT_TYPE_EWAY, COMPONENT_TYPE_STCMS, SERVER_TYPE_INTEGRATION, SERVER_TYPE_MESSAGE| Modifier and Type | Method and Description |
|---|---|
String |
createQuery(String notificationType,
String environmentName,
String logicalHostName,
String serverType,
String serverName,
String componentType,
String componentProjectPathName,
String componentName,
Integer observationalState) |
String |
createQuery2(String notificationType,
String environmentName,
String logicalHostName,
String serverType,
String serverName,
String componentType,
String componentProjectPathName,
String componentName,
Integer observationalState,
String dateFrom,
String dateTo,
Integer severity,
Integer operationalState,
String messageDetail) |
String |
createQuery2(String notificationType,
String deploymentName,
String environmentName,
String logicalHostName,
String serverType,
String serverName,
String componentType,
String componentProjectPathName,
String componentName,
Integer observationalState,
String dateFrom,
String dateTo,
Integer severity,
Integer operationalState,
String messageDetail) |
long |
getId()
The notification event id
|
boolean |
getListenersNotified()
The getter method for whether the listeners interested in the
notifications event have been notified.
|
String |
getMessageCode()
The getter method for the message code which is a unique integer that
is used to identify the root cause of the notification events as
specifically as possible.
|
String[] |
getMessageCodeArgs()
The getter method for the message code arguments.
|
String |
getMessageDetails()
The getter method for the details about a notification event.
|
int |
getObservationalState()
The getter method to retrieve the observational state.
|
String |
getObStateString(int observationalState)
Convert a code into String representation
|
int |
getOperationalState()
The getter method for the operational state
|
String |
getOpStateString(int operationalState)
Convert a code into String representation
|
int |
getSeverity()
The getter method for the severity.
|
String |
getSeverityString(int severity)
Convert a code into String representation
|
String |
getType()
The getter method for the notification event type.
|
void |
setId(long id)
Set the id.
|
void |
setListenersNotified(boolean listenersNotified)
The setter method for whether the listeners interested in the
notification events have been notified.
|
void |
setMessageCode(String messageCode)
The setter method for the message code.
|
void |
setMessageCodeArgs(String[] messageCodeArgs)
The setter method for the message code arguments.
|
void |
setMessageDetails(String messageDetails)
The setter method for the details about a notification event.
|
void |
setObservationalState(int observationalState)
Set the observational state.
|
void |
setOperationalState(int operationalState)
The setter method for the operational state.
|
void |
setSeverity(int severity)
The setter method for the severity.
|
void |
setType(String type)
The setter method for the notification event type.
|
equals, getComponentName, getComponentProjectPathName, getComponentType, getDeploymentName, getEnvironmentName, getLogicalHostName, getPhysicalHostName, getServerName, getServerType, getTimeStamp, hashCode, setComponentName, setComponentProjectPathName, setComponentType, setDeploymentName, setEnvironmentName, setLogicalHostName, setPhysicalHostName, setServerName, setServerType, setTimeStamp, setTimeStamp, toStringstatic final String EVENT_TYPE_ALERT
static final String EVENT_TYPE_TCA
static final String EVENT_TYPE_EVENT
static final int SEVERITY_TYPE_FATAL
static final int SEVERITY_TYPE_CRITICAL
static final int SEVERITY_TYPE_MAJOR
static final int SEVERITY_TYPE_MINOR
static final int SEVERITY_TYPE_WARNING
static final int SEVERITY_TYPE_INFO
static final int OPERATIONAL_STATE_UNKNOWN
static final int OPERATIONAL_STATE_STARTING
static final int OPERATIONAL_STATE_STARTED
static final int OPERATIONAL_STATE_SUSPENDING
static final int OPERATIONAL_STATE_SUSPENDED
static final int OPERATIONAL_STATE_STOPPING
static final int OPERATIONAL_STATE_STOPPED
static final int OPERATIONAL_STATE_RUNNING
static final int OBSERVATIONAL_STATE_UNOBSERVED
static final int OBSERVATIONAL_STATE_OBSERVED
static final int OBSERVATIONAL_STATE_RESOLVED
static final int OBSERVATIONAL_STATE_DELETED
long getId()
void setId(long id)
id - the idString getType()
void setType(String type)
type - the notification event type:
EVENT_TYPE_ALERT
EVENT_TYPE_TCA
EVENT_TYPE_EVENTint getSeverity()
void setSeverity(int severity)
severity - the severity:
SEVERITY_TYPE_CRITICAL
SEVERITY_TYPE_MAJOR
SEVERITY_TYPE_MINOR
SEVERITY_TYPE_WARNING
SEVERITY_TYPE_INFOString getMessageDetails()
void setMessageDetails(String messageDetails)
messageDetails - the details about a notification eventint getOperationalState()
void setOperationalState(int operationalState)
operationalState - the operational state:
OPERATIONAL_STATE_UNKNOWN
OPERATIONAL_STATE_STARTING
OPERATIONAL_STATE_SUSPENDING
OPERATIONAL_STATE_SUSPENDED
OPERATIONAL_STATE_STOPPING
OPERATIONAL_STATE_STOPPED
OPERATIONAL_STATE_RUNNINGint getObservationalState()
void setObservationalState(int observationalState)
observationalState - the observational state:
OBSERVATIONAL_STATE_UNOBSERVED
OBSERVATIONAL_STATE_OBSERVED
OBSERVATIONAL_STATE_RESOLVEDboolean getListenersNotified()
true if all the listeners have been notified and
false if they may have not been notifiedvoid setListenersNotified(boolean listenersNotified)
listenersNotified - true if all the listeners have
been notified and false if they may have not been notifiedString getMessageCode()
void setMessageCode(String messageCode)
messageCode - the message codeString getSeverityString(int severity)
severity - the codeString getOpStateString(int operationalState)
operationalState - the codeString getObStateString(int observationalState)
observationalState - the codeString[] getMessageCodeArgs()
void setMessageCodeArgs(String[] messageCodeArgs)
messageCodeArgs - the arguments to the message template specified
by the message code. These strings will not be internationalized.String createQuery(String notificationType, String environmentName, String logicalHostName, String serverType, String serverName, String componentType, String componentProjectPathName, String componentName, Integer observationalState)
String createQuery2(String notificationType, String environmentName, String logicalHostName, String serverType, String serverName, String componentType, String componentProjectPathName, String componentName, Integer observationalState, String dateFrom, String dateTo, Integer severity, Integer operationalState, String messageDetail)
String createQuery2(String notificationType, String deploymentName, String environmentName, String logicalHostName, String serverType, String serverName, String componentType, String componentProjectPathName, String componentName, Integer observationalState, String dateFrom, String dateTo, Integer severity, Integer operationalState, String messageDetail)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.