Interface AlertMessage
- 
- All Superinterfaces:
- java.io.Serializable
 - All Known Implementing Classes:
- DefaultAlertMessage
 
 @Deprecated public interface AlertMessage extends java.io.SerializableDeprecated.An AlertMessage is the message that is sent to and from the AlertBus.
- 
- 
Field SummaryFields Modifier and Type Field Description static intACKNOWLEDGEDDeprecated.static intACTIVEDeprecated.static intCLEAREDDeprecated.static intDEREGISTERDeprecated.static intINFO_UPDATEDeprecated.static intREGISTERDeprecated.These were wrong in 7.1.static intSUPPRESS_CLEAR_MSGDeprecated.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetAlertFlags()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 - 0x00010000java.lang.StringgetDisplayPath()Deprecated.Returns a user-configurable "friendly" path for the alert.java.lang.StringgetMessage()Deprecated.Returns the alert's custom message, if any.java.lang.StringgetMessageSubject()Deprecated.Returns the alerts custom subject, if any.java.lang.StringgetNotes()Deprecated.Get alert notes (extra information about the alert).AlertNotificationModegetNotificationMode()Deprecated.Returns the notification mode for the tag- when it wants notifications to occur.java.lang.StringgetPath()Deprecated.Returns the path of the source, such as the path to a SQLTag, which should be reasonably unique.java.lang.StringgetStateName()Deprecated.Returns the name of the alert state that was triggeredAlertSeveritygetStateSeverity()Deprecated.Returns the severity of the alert statejava.lang.StringgetSystem()Deprecated.Returns the name of the SCADARail system responsible for the alertjava.util.DategetTimestamp()Deprecated.Returns the originating timestamp for the message.java.lang.StringgetUser()Deprecated.Returns a username associated with the message.java.lang.DoublegetValue()Deprecated.Returns the value that caused this alert.booleanisAcknowledged()Deprecated.Returns whether or not the message is flagged as ACKNOWLEDGEDbooleanisActive()Deprecated.Returns whether or not the message is flagged as ACTIVEbooleanisCleared()Deprecated.Returns whether or not the message is flagged as CLEAREDbooleanisDeregister()Deprecated.Returns whether or not the message is flagged as DEREGISTERbooleanisRegister()Deprecated.Returns whether or not the message is flagged as REGISTERbooleanisUpdate()Deprecated.booleansuppressClearMessage()Deprecated.Returns whether or not the message is flagged as SUPPRESS_CLEAR_MSG
 
- 
- 
- 
Field Detail- 
REGISTERstatic final int REGISTER Deprecated.These were wrong in 7.1. Now correct.- See Also:
- Constant Field Values
 
 - 
ACTIVEstatic final int ACTIVE Deprecated.- See Also:
- Constant Field Values
 
 - 
CLEAREDstatic final int CLEARED Deprecated.- See Also:
- Constant Field Values
 
 - 
ACKNOWLEDGEDstatic final int ACKNOWLEDGED Deprecated.- See Also:
- Constant Field Values
 
 - 
DEREGISTERstatic final int DEREGISTER Deprecated.- See Also:
- Constant Field Values
 
 - 
SUPPRESS_CLEAR_MSGstatic final int SUPPRESS_CLEAR_MSG Deprecated.- See Also:
- Constant Field Values
 
 - 
INFO_UPDATEstatic final int INFO_UPDATE Deprecated.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSystemjava.lang.String getSystem() Deprecated.Returns the name of the SCADARail system responsible for the alert
 - 
getPathjava.lang.String 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
 - 
getDisplayPathjava.lang.String 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
 
 - 
getStateNamejava.lang.String getStateName() Deprecated.Returns the name of the alert state that was triggered
 - 
getStateSeverityAlertSeverity getStateSeverity() Deprecated.Returns the severity of the alert state
 - 
getTimestampjava.util.Date getTimestamp() Deprecated.Returns the originating timestamp for the message.
 - 
getValuejava.lang.Double 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.
 - 
getMessageSubjectjava.lang.String getMessageSubject() Deprecated.Returns the alerts custom subject, if any.
 - 
getMessagejava.lang.String getMessage() Deprecated.Returns the alert's custom message, if any.
 - 
getUserjava.lang.String getUser() Deprecated.Returns a username associated with the message. Mostly used for Acknowledegments
 - 
getNotesjava.lang.String getNotes() Deprecated.Get alert notes (extra information about the alert).
 
- 
 
-