Class DefaultAlertEvent
java.lang.Object
com.inductiveautomation.ignition.common.alert.AbstractAlertEvent
com.inductiveautomation.ignition.common.alert.DefaultAlertEvent
- All Implemented Interfaces:
- AlertEvent,- Serializable
A simple immutable implementation of AlertEvent
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultAlertEvent(AlertEvent event) DefaultAlertEvent(String system, String path, String stateName, AlertSeverity stateSeverity, Double activeValue, Date activeTimestamp, Double clearedValue, Date clearedTimestamp, String user, Date acknowledgedTimestamp, String displayPath, String notes) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the active timestamp of the alert ornullif not acknowledged.Returns the active timestamp of the alert ornullif not active.Returns the active value of the alert ornullif not active.Returns the cleared timestamp of the alert ornullif not cleared.Returns the cleared value of the alert ornullif not cleared.Returns a user-entered path for the alert.getNotes()Returns user-entered notes for the alert.getPath()Returns the path of the source, such as the path to a SQLTag, which should be reasonably unique.Returns the name of the alert state that was triggeredReturns the severity of the alert stateReturns the name of the SCADARail system responsible for the alertgetUser()Returns a username associated with the message ornullif not set.inthashCode()toString()Methods inherited from class com.inductiveautomation.ignition.common.alert.AbstractAlertEventisAcked, isActive, isClear
- 
Constructor Details- 
DefaultAlertEvent
- 
DefaultAlertEvent
 
- 
- 
Method Details- 
getAcknowledgedTimestampDescription copied from interface:AlertEventReturns the active timestamp of the alert ornullif not acknowledged.
- 
getActiveTimestampDescription copied from interface:AlertEventReturns the active timestamp of the alert ornullif not active.
- 
getActiveValueDescription copied from interface:AlertEventReturns the active value of the alert ornullif not active.
- 
getClearedTimestampDescription copied from interface:AlertEventReturns the cleared timestamp of the alert ornullif not cleared.
- 
getClearedValueDescription copied from interface:AlertEventReturns the cleared value of the alert ornullif not cleared.
- 
getPathDescription copied from interface:AlertEventReturns the path of the source, such as the path to a SQLTag, which should be reasonably unique. That is, there should not be another alert with the same path in the same SCADARail system. This path lets alert handlers correlate ACKS and CLEARS with their initial ALERTs
- 
getDisplayPathDescription copied from interface:AlertEventReturns a user-entered path for the alert.
- 
getNotesDescription copied from interface:AlertEventReturns user-entered notes for the alert.
- 
getStateNameDescription copied from interface:AlertEventReturns the name of the alert state that was triggered
- 
getStateSeverityDescription copied from interface:AlertEventReturns the severity of the alert state
- 
getSystemDescription copied from interface:AlertEventReturns the name of the SCADARail system responsible for the alert
- 
getUserDescription copied from interface:AlertEventReturns a username associated with the message ornullif not set. Mostly used for Acknowledgements.
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-