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