public interface AlarmEvaluator extends Diagnosable, BrowsableNode
AlarmManager based on an AlarmConfiguration. When the entity that is feeding it values is
destroyed, it should call release() so that the alarming system knows that the alarm is no longer in use.| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(QualifiedValue value)
Evaluates a value against the configured conditions.
|
AlarmStateSummary |
getState() |
boolean |
isEvaluationEnabled()
Indicates whether this AlarmEvaluator is enabled.
|
void |
reattach()
Re-activates the alarm after release() has been called.
|
void |
release()
Releases the alarm evaluator, deregistering the alarm configuration from the system.
|
void |
setAlarmObserver(AlarmObserver value)
Each alarm can have one observer, that will be notified about transitions.Note: The observer is cleared
when release() is called, and therefore should be re-added when calling reattach();
|
void |
setEvaluationEnabled(boolean value)
Sets whether or not the alarm should evaluate.
|
sampleDiagnosticsbrowse, getBrowseInfo, getChildNode, getPropertyNode, hasChildrenread, setLeased, setSubscription, writeAlarmStateSummary getState()
void evaluate(QualifiedValue value)
void release()
void reattach()
void setEvaluationEnabled(boolean value)
Note: When this is set to false, all live events will transition to "finished".
boolean isEvaluationEnabled()
void setAlarmObserver(AlarmObserver value)