public class StatusRaisedAlert extends StatusAlert<Alert,Alert>
| Constructor and Description |
|---|
StatusRaisedAlert(Alert alert,
StateBundle state) |
StatusRaisedAlert(Alert alert,
StateBundle state,
RaisedAlertSummary raisedAlertSummary)
Build a StatusAlert from the provided RaisedAlert.
|
| Modifier and Type | Method and Description |
|---|---|
protected Alert |
encodeObject(Alert obj)
Subclasses must provide a specific implementation of the encoding process.
|
Alert |
getRaisedAlert()
Get the RaisedAlert contained in this message.
|
getRaisedAlertSummarygetSerializedObject, getState, setState, toStringgetClassName, getEncodedData, getObject, getOriginAgentInfo, getTimeStamp, setOriginAgentInfopublic StatusRaisedAlert(Alert alert, StateBundle state)
public StatusRaisedAlert(Alert alert, StateBundle state, RaisedAlertSummary raisedAlertSummary)
alert - The RaisedAlert object that caused the publication of this StatusAlert.state - The State of the Agent at the time the object is created.raisedAlertSummary - the summary of all uncleared alerts at the time
the object is created.public Alert getRaisedAlert()
protected Alert encodeObject(Alert obj)
BusMessageencodeObject in class BusMessage<Alert,Alert>obj - The Serializable object embedded in the BusMessage.Copyright © 2015 LSST. All rights reserved.