
public class Alarm extends Object implements HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
Data fields.
|
static int |
EVENT_LIMBO
Constants.
|
static int |
EVENT_LIMBO_FROM_ERROR
Constants.
|
static int |
EVENT_LIMBO_FROM_GOOD
Constants.
|
static int |
EVENT_RESET
Constants.
|
static int |
EVENT_TRIP
Constants.
|
protected int |
eventParm |
protected String |
name |
| Constructor and Description |
|---|
Alarm() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClearState() |
void |
clearState() |
protected Alert |
getAlert() |
static AlertState |
getAlertStateFromEventId(int event)
Get the AlertState corresponding to the event id used by AlarmHandlers
|
String |
getName() |
void |
init()
Called from the enclosing
Subsystem at initialization
phase. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, postBuild, postInit, postShutdown, postStart, shutdown, startpublic static final int EVENT_TRIP
public static final int EVENT_LIMBO
public static final int EVENT_LIMBO_FROM_ERROR
public static final int EVENT_LIMBO_FROM_GOOD
public static final int EVENT_RESET
protected String description
protected int eventParm
@LookupName protected String name
public void init()
HasLifecycleSubsystem at initialization
phase.
This method is called before the children components of this
object have their init method called.
At the time it is called, connection to the messaging layer is not yet
done, so there should be no attempt to send messages in the body of
this method. Configuration for message listening can nevertheless be
done here, such as adding MessageListener
objects.
It is unnecessary to call super.init()
init in interface HasLifecycleprotected Alert getAlert()
public static AlertState getAlertStateFromEventId(int event)
event - The event Id.public void clearState()
public boolean canClearState()
public String getName()
Copyright © 2021 LSST. All rights reserved.