
public static interface Monitor.AlarmHandler extends ClearAlertHandler
ClearAlertHandler.ClearAlertCode| Modifier and Type | Method and Description |
|---|---|
default ClearAlertHandler.ClearAlertCode |
canClearAlert(Alert alert)
Callback to clear an
Alert instance. |
default Alarm |
getAlarmById(int id) |
default boolean |
processAlarm(int event,
int parm,
String cause,
String alarmName) |
default void |
setAlarms(List<Alarm> alarms) |
default ClearAlertHandler.ClearAlertCode canClearAlert(Alert alert)
ClearAlertHandlerAlert instance.
Return true/false if the Alert can be cleared.
When true is returned the Alert is cleared and no more handlers will
be checked. When false is returned other handlers will be handed the Alert
instance to be cleared. If no handler returns true, the Alert will not be
cleared.canClearAlert in interface ClearAlertHandleralert - The Alert instance to clear.default Alarm getAlarmById(int id)
Copyright © 2018 LSST. All rights reserved.