Interface AlertMessage
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultAlertMessage
Deprecated.
An AlertMessage is the message that is sent to and from the AlertBus.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.These were wrong in 7.1.static final intDeprecated.
- 
Method SummaryModifier and TypeMethodDescriptionintDeprecated.Returns the alert flags to determine what type of alert it is.
 REGISTER - 0x00000001 ACTIVE - 0x00000010 CLEARED - 0x00000100 ACKNOWLEDGED - 0x00001000 DEREGISTER - 0x00010000 SUPPRESS_CLEAR_MSG - 0x00010000Deprecated.Returns a user-configurable "friendly" path for the alert.Deprecated.Returns the alert's custom message, if any.Deprecated.Returns the alerts custom subject, if any.getNotes()Deprecated.Get alert notes (extra information about the alert).Deprecated.Returns the notification mode for the tag- when it wants notifications to occur.getPath()Deprecated.Returns the path of the source, such as the path to a SQLTag, which should be reasonably unique.Deprecated.Returns the name of the alert state that was triggeredDeprecated.Returns the severity of the alert stateDeprecated.Returns the name of the SCADARail system responsible for the alertDeprecated.Returns the originating timestamp for the message.getUser()Deprecated.Returns a username associated with the message.getValue()Deprecated.Returns the value that caused this alert.booleanDeprecated.Returns whether or not the message is flagged as ACKNOWLEDGEDbooleanisActive()Deprecated.Returns whether or not the message is flagged as ACTIVEbooleanDeprecated.Returns whether or not the message is flagged as CLEAREDbooleanDeprecated.Returns whether or not the message is flagged as DEREGISTERbooleanDeprecated.Returns whether or not the message is flagged as REGISTERbooleanisUpdate()Deprecated.booleanDeprecated.Returns whether or not the message is flagged as SUPPRESS_CLEAR_MSG
- 
Field Details- 
REGISTERstatic final int REGISTERDeprecated.These were wrong in 7.1. Now correct.- See Also:
 
- 
ACTIVEstatic final int ACTIVEDeprecated.- See Also:
 
- 
CLEAREDstatic final int CLEAREDDeprecated.- See Also:
 
- 
ACKNOWLEDGEDstatic final int ACKNOWLEDGEDDeprecated.- See Also:
 
- 
DEREGISTERstatic final int DEREGISTERDeprecated.- See Also:
 
- 
SUPPRESS_CLEAR_MSGstatic final int SUPPRESS_CLEAR_MSGDeprecated.- See Also:
 
- 
INFO_UPDATEstatic final int INFO_UPDATEDeprecated.- See Also:
 
 
- 
- 
Method Details- 
getSystemString getSystem()Deprecated.Returns the name of the SCADARail system responsible for the alert
- 
getPathString getPath()Deprecated.Returns 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
- 
getDisplayPathString getDisplayPath()Deprecated.Returns a user-configurable "friendly" path for the alert. Configured on the tag level (so will likely be used often along with state name).
- 
isRegisterboolean isRegister()Deprecated.Returns whether or not the message is flagged as REGISTER
- 
isDeregisterboolean isDeregister()Deprecated.Returns whether or not the message is flagged as DEREGISTER
- 
isActiveboolean isActive()Deprecated.Returns whether or not the message is flagged as ACTIVE
- 
isClearedboolean isCleared()Deprecated.Returns whether or not the message is flagged as CLEARED
- 
isAcknowledgedboolean isAcknowledged()Deprecated.Returns whether or not the message is flagged as ACKNOWLEDGED
- 
isUpdateboolean isUpdate()Deprecated.
- 
suppressClearMessageboolean suppressClearMessage()Deprecated.Returns whether or not the message is flagged as SUPPRESS_CLEAR_MSG
- 
getAlertFlagsint getAlertFlags()Deprecated.Returns the alert flags to determine what type of alert it is.
 - REGISTER - 0x00000001
- ACTIVE - 0x00000010
- CLEARED - 0x00000100
- ACKNOWLEDGED - 0x00001000
- DEREGISTER - 0x00010000
- SUPPRESS_CLEAR_MSG - 0x00010000
 
- 
getStateNameString getStateName()Deprecated.Returns the name of the alert state that was triggered
- 
getStateSeverityAlertSeverity getStateSeverity()Deprecated.Returns the severity of the alert state
- 
getTimestampDate getTimestamp()Deprecated.Returns the originating timestamp for the message.
- 
getValueDouble getValue()Deprecated.Returns the value that caused this alert. May not be applicable for all message types
- 
getNotificationModeAlertNotificationMode getNotificationMode()Deprecated.Returns the notification mode for the tag- when it wants notifications to occur.
- 
getMessageSubjectString getMessageSubject()Deprecated.Returns the alerts custom subject, if any.
- 
getMessageString getMessage()Deprecated.Returns the alert's custom message, if any.
- 
getUserString getUser()Deprecated.Returns a username associated with the message. Mostly used for Acknowledegments
- 
getNotesString getNotes()Deprecated.Get alert notes (extra information about the alert).
 
-