public static class ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange extends AbstractThresholdEvaluatorState<org.opennms.netmgt.threshd.ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange.State>
ThresholdEvaluatorState.Status, ThresholdEvaluatorState.ThresholdValues, ThresholdEvaluatorState.ValueStatusFORMATED_NAN, fst, state, thresholdingSession| Constructor and Description |
|---|
ThresholdEvaluatorStateRearmingAbsoluteChange(BaseThresholdDefConfigWrapper threshold,
ThresholdingSession thresholdingSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearStateBeforePersist() |
ThresholdEvaluatorState.Status |
evaluateAfterFetch(double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues) |
ThresholdEvaluatorState |
getCleanClone()
Returns a "clean" (armed, non-triggered) clone of this object
|
Event |
getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource)
getEventForState
|
BaseThresholdDefConfigWrapper |
getThresholdConfig()
getThresholdConfig
|
String |
getType() |
protected void |
initializeState() |
boolean |
isTriggered()
Return true if current state is TRIGGERED
|
clearState, createBasicEvent, evaluate, evaluate, evaluate, evaluate, formatValue, getThresholdingSession, markDirty, reinitialize, setInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluatepublic ThresholdEvaluatorStateRearmingAbsoluteChange(BaseThresholdDefConfigWrapper threshold, ThresholdingSession thresholdingSession)
protected void initializeState()
initializeState in class AbstractThresholdEvaluatorState<org.opennms.netmgt.threshd.ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange.State>public String getType()
public BaseThresholdDefConfigWrapper getThresholdConfig()
ThresholdEvaluatorStategetThresholdConfig
BaseThresholdDefConfigWrapper object.public ThresholdEvaluatorState.Status evaluateAfterFetch(double dsValue, ThresholdEvaluatorState.ThresholdValues thresholdValues)
evaluateAfterFetch in class AbstractThresholdEvaluatorState<org.opennms.netmgt.threshd.ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange.State>public Event getEventForState(ThresholdEvaluatorState.Status status, Date date, double dsValue, ThresholdEvaluatorState.ThresholdValues thresholdValues, CollectionResourceWrapper resource)
ThresholdEvaluatorStategetEventForState
status - a ThresholdEvaluatorState.Status object.date - a Date object.dsValue - a double.resource - a CollectionResourceWrapper object. @return a Event object.public ThresholdEvaluatorState getCleanClone()
ThresholdEvaluatorStateThresholdEvaluatorState object.public boolean isTriggered()
ThresholdEvaluatorStatepublic void clearStateBeforePersist()
clearStateBeforePersist in class AbstractThresholdEvaluatorState<org.opennms.netmgt.threshd.ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange.State>Copyright © 2022. All rights reserved.