|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.event.Event
public class Event
A JavaBean implementation to hold information about a network event as defined by OpenNMS.
| Field Summary | |
|---|---|
protected Date |
acknowledgeTime
The time this event was acknowledged. |
protected String |
acknowledgeUser
The name of the user who acknowledged this event. |
protected Integer |
alarmId
The alarmId if reduced. |
protected String |
autoAction
Automated Action for event. |
protected Date |
createTime
Creation time of event in database, cannot be null |
protected String |
description
Free-form textual description of the event |
protected String |
dpName
The dpName of the Dist Poller which received the event, cannot be null. |
protected Boolean |
eventDisplay
Whether the event is displayable. |
protected String |
forward
The forwarding information. |
protected String |
host
The <host> element from the Event Data Stream DTD |
protected int |
id
Unique identifier for the event, cannot be null |
protected String |
ipAddr
IP Address of node's interface |
protected String |
logGroup
Logical group with which to associate event. |
protected String |
logMessage
Formatted display text to control how the event will appear in the browser. |
protected String |
mouseOverText
Mouse over text. |
protected Integer |
nodeID
Unique integer identifier for node, can be null |
protected String |
nodeLabel
The human-readable name of the node of this event. |
protected String |
notification
Notification string. |
protected String |
operatorAction
Operator Action for event. |
protected String |
operatorActionMenuText
Text of the eventOperAction. |
protected String |
operatorInstruction
Operator instruction for event. |
protected String |
parms
The <parms> element from the Event Data Stream DTD |
protected Integer |
serviceID
Unique integer identifier of service/poller package, can be null |
protected String |
serviceName
Human-readable name of the service |
protected OnmsSeverity |
severity
Severity the of event. |
protected String |
snmp
Contains the eid, eidtext (optionally), specific, and generic identifier for the SNMP Trap. |
protected String |
snmphost
The <snmphost> element from the Event Data Stream DTD |
protected Date |
time
The <time> element from the Event Data Stream DTD, which is the time the event was received by the source process. |
protected String |
troubleTicket
Trouble ticket integration string. |
protected Integer |
troubleTicketState
State of the trouble ticket. |
protected String |
uei
Universal Event Identifer (UEI) for this event, cannot be null |
| Constructor Summary | |
|---|---|
Event()
Empty constructor to create an empty Event instance. |
|
Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId)
Create an event that represents a real network event with only the required parameters. |
|
Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime)
Create an event that represents a real network event with all the parameters. |
|
Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime,
String nodeLabel,
String serviceName,
Integer alarmId)
|
|
Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime,
String nodeLabel,
String serviceName,
Integer alarmId,
Boolean eventDisplay)
Create an event that represents a real network event with all the parameters. |
|
| Method Summary | |
|---|---|
Date |
getAcknowledgeTime()
|
String |
getAcknowledgeUser()
|
Integer |
getAlarmId()
|
String |
getAutoAction()
|
Date |
getCreateTime()
|
String |
getDescription()
|
String |
getDpName()
|
Boolean |
getEventDisplay()
|
String |
getForward()
|
String |
getHost()
|
int |
getId()
|
String |
getIpAddress()
|
String |
getLogGroup()
|
String |
getLogMessage()
|
String |
getMouseOverText()
|
int |
getNodeId()
|
String |
getNodeLabel()
|
String |
getNotification()
|
String |
getOperatorAction()
|
String |
getOperatorActionMenuText()
|
String |
getOperatorInstruction()
|
String |
getParms()
|
int |
getServiceId()
|
String |
getServiceName()
|
OnmsSeverity |
getSeverity()
|
String |
getSnmp()
|
String |
getSnmpHost()
|
Date |
getTime()
|
String |
getTroubleTicket()
|
Integer |
getTroubleTicketState()
|
String |
getUei()
|
boolean |
isAcknowledged()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int id
protected String uei
protected String snmp
protected Date time
protected String host
protected String snmphost
protected String dpName
protected String parms
protected Integer nodeID
protected Integer serviceID
protected String serviceName
protected String ipAddr
protected Date createTime
protected String description
protected String logMessage
protected String logGroup
protected OnmsSeverity severity
1 = Indeterminate 2 = Cleared (unimplemented at this time) 3 = Warning 4 = Minor 5 = Major 6 = Critical
protected String operatorInstruction
protected String autoAction
protected String operatorAction
protected String operatorActionMenuText
protected String notification
protected String troubleTicket
protected Integer troubleTicketState
protected String forward
Destination,State,Mechanism;Destination,State,Mechanism;
which reflect the following:
protected String mouseOverText
protected String acknowledgeUser
protected Date acknowledgeTime
protected String nodeLabel
protected Integer alarmId
protected Boolean eventDisplay
| Constructor Detail |
|---|
public Event()
Event instance. All
fields will hold the default values.
public Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId)
public Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime)
public Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime,
String nodeLabel,
String serviceName,
Integer alarmId)
public Event(int id,
String uei,
Date time,
String dpName,
Date createTime,
int severityId,
String snmp,
String host,
String snmphost,
String parms,
Integer nodeID,
Integer serviceID,
String ipAddr,
String description,
String logMessage,
String logGroup,
String operatorInstruction,
String autoAction,
String operatorAction,
String operatorActionMenuText,
String notification,
String troubleTicket,
Integer troubleTicketState,
String forward,
String mouseOverText,
String acknowledgeUser,
Date acknowledgeTime,
String nodeLabel,
String serviceName,
Integer alarmId,
Boolean eventDisplay)
| Method Detail |
|---|
public int getId()
public String getUei()
public Date getTime()
public String getDpName()
public Date getCreateTime()
public OnmsSeverity getSeverity()
public String getSnmp()
public String getHost()
public String getSnmpHost()
public String getParms()
public int getNodeId()
public String getNodeLabel()
public int getServiceId()
public String getServiceName()
public String getIpAddress()
public String getDescription()
public String getLogMessage()
public String getLogGroup()
public String getOperatorInstruction()
public String getAutoAction()
public String getOperatorAction()
public String getOperatorActionMenuText()
public String getNotification()
public String getTroubleTicket()
public Integer getTroubleTicketState()
public String getForward()
public String getMouseOverText()
public String getAcknowledgeUser()
public Date getAcknowledgeTime()
public boolean isAcknowledged()
public Integer getAlarmId()
public Boolean getEventDisplay()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||