

Public Member Functions | |
| PanelStatus (boolean active, Properties props) | |
| String | getSourceHostname () |
| Timestamp | getSourceTimestamp () |
| Timestamp | getSystemTimestamp () |
| Properties | getUserProperties () |
| Timestamp | getUserTimestamp () |
| boolean | isActive () |
| boolean | isMasked () |
| boolean | isReduced () |
| Object | clone () throws CloneNotSupportedException |
| void | setStatus (boolean active) |
| void | setUserProps (Properties props) |
Private Attributes | |
| boolean | active |
| Properties | properties |
| final Timestamp | timestamp = new Timestamp(System.currentTimeMillis()) |
The status
| alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::PanelStatus | ( | boolean | active, | |
| Properties | props | |||
| ) | [inline] |
Build the status
| active | true if the alarm is active | |
| props | The user properties |
References setStatus(), and setUserProps().
| Object alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::clone | ( | ) | throws CloneNotSupportedException [inline] |
Cloning method. The cloned object is a deep copy.
| CloneNotSupportedException | if clone failed |
Implements cern::laser::client::data::Status.
| String alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSourceHostname | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
| Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSourceTimestamp | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
References timestamp.
| Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getSystemTimestamp | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
References timestamp.
| Properties alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getUserProperties | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
References properties.
| Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::getUserTimestamp | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
References timestamp.
| boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isActive | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
References active.
| boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isMasked | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
| boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::isReduced | ( | ) | [inline] |
Implements cern::laser::client::data::Status.
| void alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::setStatus | ( | boolean | active | ) | [inline] |
Set the status active/inactive and update the time stamp
| active |
References timestamp.
Referenced by PanelStatus(), and alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setStatus().
| void alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::setUserProps | ( | Properties | props | ) | [inline] |
Set the user properties of the alarm
| props | The new properties |
References properties.
Referenced by PanelStatus(), and alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setUserProperties().
boolean alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::active [private] |
true if the alarm is active
Referenced by isActive().
Properties alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::properties [private] |
The user properties
Referenced by getUserProperties(), and setUserProps().
final Timestamp alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::timestamp = new Timestamp(System.currentTimeMillis()) [private] |
The timestamp
Referenced by getSourceTimestamp(), getSystemTimestamp(), getUserTimestamp(), and setStatus().
1.6.2