Public Member Functions | |
AlarmBean (CommentedAlarm commentedAlarm) | |
AlarmBean () | |
CommentedAlarm | getCommentedAlarm () |
void | setCommentedAlarm (CommentedAlarm newCommentedAlarm) |
boolean | isAlarmNodeActive () |
void | setIsAlarmNodeActive () |
boolean | isAlarmNodeInhibited () |
void | setIsAlarmNodeInhibited (boolean flag) |
boolean | isAlarmNodeMasked () |
void | setIsAlarmNodeMasked (boolean flag) |
boolean | isAlarmNodeHighlighted () |
void | setIsAlarmNodeHighlighted (boolean flag) |
boolean | isAlarmNodeHighlightedAndKlaxon () |
void | setIsAlarmNodeHighlightedAndKlaxon (boolean flag) |
int | getHighlightedOrKlaxon () |
void | setHighlightedOrKlaxon (final int highlightedOrKlaxon) |
void | setIsAlarmNodeAcknowledged (boolean flag) |
boolean | isAlarmNodeAcknowledged () |
boolean | isAlarmNodeInstant () |
void | setIsAlarmNodeInstant (boolean flag) |
boolean | isOnHighlightedList () |
void | setIsOnHighlightedList (boolean flag) |
boolean | isNew () |
void | setIsNew (boolean flag) |
void | setInfoMode (boolean flag) |
boolean | infoMode () |
String | getAlarmId () |
Integer | getPriority () |
Collection | getCategories () |
ResponsiblePerson | getResponsiblePerson () |
Location | getLocation () |
String | getProblemDescription () |
Source | getSource () |
String | getSourceName () |
String | getFaultFamily () |
String | getFaultMember () |
Integer | getFaultCode () |
String | getTimestamp () |
String | getSourceTimestamp () |
String | getUserTimestamp () |
Timestamp | getTimestampForSorting () |
String | getSourceHostName () |
String | getUserData () |
String | getIdentifier () |
String | getSystemName () |
boolean | isActive () |
boolean | getIsActive () |
boolean | isMasked () |
boolean | isNodeChild () |
boolean | isNodeParent () |
boolean | isNodeReduced () |
boolean | isMultiplicityParent () |
boolean | isMultiplicityChild () |
boolean | isReduced () |
List | getTimestamps () |
List | getDynamicInfo (boolean withEmptyFields) |
List | getStaticInfo (boolean withEmptyFields) |
String | getName () |
String | getDisplayName () |
String | getDate () |
String | getTime () |
String | getNodeDefaultAction () |
Image | getNewIcon () |
Image | getNodeIcon () |
Image | getNodeIcon (boolean isSelected) |
String[] | getNodeActions () |
Color | getBackgroundColor () |
Color | getForegroundColor () |
Font | getFont () |
void | details () |
Object | clone () throws CloneNotSupportedException |
void | propertyChange (java.beans.PropertyChangeEvent evt) |
boolean | equals (Object obj) |
int | hashCode () |
void | registerPropertyChangeListener (PropertyChangeListener listener) |
void | addPropertyChangeListener (PropertyChangeListener listener) |
void | removePropertyChangeListener (PropertyChangeListener listener) |
String | checkIfNull (String str) |
SystemAction[] | getActions () |
int | compareTo (Object o) |
void | fireFontChanged () |
Color | getStandardBackgroundColor () |
Color | getStandardForegroundColor () |
Protected Attributes | |
String | consoleTimeStamp = null |
PropertyChangeListener | propertyListener = null |
String[] | nodeActions = null |
String[] | instantNodeActions = null |
String | defaultActionName = null |
Color | foregroundColor = Color.black |
Color | backgroundColor = new Color(70, 92, 113) |
boolean | isAlarmNodeActive = true |
boolean | isAlarmNodeInhibited = false |
boolean | isAlarmNodeMasked = false |
boolean | isAlarmNodeHighlighted = false |
boolean | isAlarmNodeHighlightedAndKlaxon = false |
boolean | isAlarmNodeAcknowledged = false |
int | highlitedOrKlaxonOrBoth = AlarmConstants.HIGHLIGHTED_ONLY |
boolean | isAlarmNodeInstant = false |
boolean | isNew = true |
boolean | infoMode = false |
boolean | isOnHighlightedList = false |
CommentedAlarm | commentedAlarm = null |
Static Protected Attributes | |
final String[] | INSTANT_NODE_ACTIONS |
final String | DEFAULT_ACTION_NAME = null |
Private Member Functions | |
void | addToList (List list, String key, String value, boolean withEmptyFields) |
Image | prepareIcon (String imagePathNew, String imagePathNotNew) |
void | changeBackgroundForeground () |
String | getPrefix () |
String | getSuffix () |
Private Attributes | |
PropertyChangeSupport | changes = new PropertyChangeSupport(this) |
Static Private Attributes | |
final Logger | LOGGER |
String[] | NODE_ACTIONS |
Alarm
|
Creates new AlarmAdapter from an Alarm object |
|
This constructor should be used only for changing column names setTableColumns(Object bean, String[] propertyNames) Constructor made only because of GP ListTableExplorer.setTableColumns method. |
|
|
|
helper method, which adds static properites to list depending on withEmptyFields value
|
|
|
|
|
|
|
|
|
|
show details |
|
|
|
|
|
|
|
|
|
|
|
getter for the categories to which the alarm belongs
|
|
This method is used by AlarmContainer when new Commnet shoud be set (inhibit, mask, etc)
|
|
|
|
|
|
|
|
getter for the fault code
|
|
getter for the fault family
|
|
getter for the fault Member
|
|
|
|
|
|
this metod wheter alarm should be only highlighted or should have klaxon or maybe both should not be used, this should be check on AutoKlaxon list |
|
|
|
debug method used to dispaly status on the console |
|
getter for the location of the equipment
|
|
Reimplemented in cern::laser::guiplatform::alarms::InfoAlarmBean.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getter for the priority of the alarm
|
|
getter for the problem description
|
|
getter for the responsible person for this equipement
|
|
getter for the alarm source
|
|
|
|
getter for the alarm source name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the object hashcode
|
|
|
|
This is bussines method
Reimplemented in cern::laser::guiplatform::alarms::InfoAlarmBean.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tests if the alarm is a node child
|
|
Tests if the alarm is a node parent
|
|
Tests if a node reduction is applied on this alarm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets flag, which indicates whether, this alarm should be only highlighted, or should a klaxon or maybe both
|
|
|
|
|
|
This method sets isAlarmNodeActive property param flag true or false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
background |
|
|
|
CommentedAlarm |
|
alarm console timestamp |
|
default action name |
|
|
|
foregournd |
|
this value indicates wheter alarm should be only highlighted or should have klaxon or maybe both TODO: reimplement this use AutKlaxon and AutoHighlighed lists |
|
info mode when alarm displayed on lists like "alarm by category", "search list", etc |
|
Initial value: instant node actions |
|
|
|
alarm is acknowledged |
|
this indicates whether alarm is on active list |
|
|
|
used to enabling or disabling appropriate actions, Auto highlighted |
|
this means that alarm in inhibited and is on inhibit list (inhibit explorer) |
|
alarm is instant and is on insttant list (instant explorer) |
|
alarm in masked and is on masked list (masked explorer) |
|
alarm is new |
|
this variable should be set just after creating new AlarmBean object, and indicates that this alarm is on highlighted list, used when alarm is on highlighted list |
|
Initial value: logger |
|
Initial value: node actions |
|
|
|
|