Class SurveillanceViewNotificationTable.Notification
- java.lang.Object
-
- org.opennms.features.vaadin.surveillanceviews.ui.dashboard.SurveillanceViewNotificationTable.Notification
-
- Enclosing class:
- SurveillanceViewNotificationTable
public class SurveillanceViewNotificationTable.Notification extends java.lang.Object
Helper class for handling notifications.
-
-
Constructor Summary
Constructors Constructor Description Notification(int id, int nodeId, java.lang.String nodeLabel, java.util.Date pageTime, java.util.Date respondTime, java.lang.String answeredBy, java.lang.String textMsg, java.lang.String serviceType, java.lang.String severity)
Constructor for instantiating new instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAnsweredBy()
int
getId()
int
getNodeId()
java.lang.String
getNodeLabel()
java.util.Date
getPageTime()
java.util.Date
getRespondTime()
java.lang.String
getServiceType()
java.lang.String
getSeverity()
java.lang.String
getTextMsg()
int
hashCode()
-
-
-
Constructor Detail
-
Notification
public Notification(int id, int nodeId, java.lang.String nodeLabel, java.util.Date pageTime, java.util.Date respondTime, java.lang.String answeredBy, java.lang.String textMsg, java.lang.String serviceType, java.lang.String severity)
Constructor for instantiating new instances.- Parameters:
id
- the notification idnodeId
- the node idnodeLabel
- the node labelpageTime
- the start timerespondTime
- the respond timeansweredBy
- the respondertextMsg
- the text messageserviceType
- the service typeseverity
- the custom severity
-
-
Method Detail
-
getPageTime
public java.util.Date getPageTime()
-
getAnsweredBy
public java.lang.String getAnsweredBy()
-
getId
public int getId()
-
getNodeId
public int getNodeId()
-
getNodeLabel
public java.lang.String getNodeLabel()
-
getRespondTime
public java.util.Date getRespondTime()
-
getTextMsg
public java.lang.String getTextMsg()
-
getServiceType
public java.lang.String getServiceType()
-
getSeverity
public java.lang.String getSeverity()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-