public final class StatusRaisedAlert extends StatusAlert<Alert,Alert>
| Constructor and Description |
|---|
StatusRaisedAlert(Alert alert,
String cause,
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.
|
String |
getCause()
Get the String explaining what caused the Alert.
|
Alert |
getRaisedAlert()
Get the RaisedAlert contained in this message.
|
getRaisedAlertSummarygetState, setState, toStringgetCCSTimeStamp, getClassName, getDeSerializationTime, getEncodedData, getObject, getOriginAgentInfo, getSerializationTime, getTransferDuration, setOriginAgentInfopublic StatusRaisedAlert(Alert alert, String cause, RaisedAlertSummary raisedAlertSummary)
alert - The RaisedAlert object that caused the publication of this StatusAlert.cause - What caused the Alert to be raised.raisedAlertSummary - the summary of all uncleared alerts at the time
the object is created.public Alert getRaisedAlert()
EmbeddedObjectDeserializationException - if the embedded object
cannot be de-serializedprotected Alert encodeObject(Alert obj)
BusMessageencodeObject in class BusMessage<Alert,Alert>obj - The Serializable object embedded in the BusMessage.public String getCause()
Copyright © 2019 LSST. All rights reserved.