
public abstract class AlertRaisingAlarm extends Alarm implements ClearAlertHandler
ClearAlertHandler.ClearAlertCodedescription, EVENT_LIMBO, EVENT_LIMBO_FROM_ERROR, EVENT_LIMBO_FROM_GOOD, EVENT_RESET, EVENT_TRIP, eventParm, name| Constructor and Description |
|---|
AlertRaisingAlarm() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
First lifecycle hook.
|
ClearAlertHandler.ClearAlertCode |
canClearAlert(Alert alert,
AlertState state)
Default implementation of ClearAlertHanlder.
|
abstract Alert |
getAlert(AlertState alertState,
AlertState previousAlertState)
Get the Alert to be raised at the given AlertState.
|
canClearState, clearState, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, postBuild, postInit, postShutdown, postStart, shutdown, startpublic void build()
HasLifecyclebuild in interface HasLifecyclepublic abstract Alert getAlert(AlertState alertState, AlertState previousAlertState)
alertState - The State at which the Alert will be raised.previousAlertState - The previous state in this state transition.public ClearAlertHandler.ClearAlertCode canClearAlert(Alert alert, AlertState state)
canClearAlert in interface ClearAlertHandleralert - state - Copyright © 2021 LSST. All rights reserved.