org.opennms.netmgt.threshd
Class ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange
java.lang.Object
org.opennms.netmgt.threshd.AbstractThresholdEvaluatorState
org.opennms.netmgt.threshd.ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange
- All Implemented Interfaces:
- ThresholdEvaluatorState
- Enclosing class:
- ThresholdEvaluatorAbsoluteChange
public static class ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange
- extends AbstractThresholdEvaluatorState
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange
public ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange(BaseThresholdDefConfigWrapper threshold)
setThresholdConfig
public void setThresholdConfig(BaseThresholdDefConfigWrapper thresholdConfig)
getThresholdConfig
public BaseThresholdDefConfigWrapper getThresholdConfig()
evaluate
public ThresholdEvaluatorState.Status evaluate(double dsValue)
getLastSample
public Double getLastSample()
setLastSample
public void setLastSample(double lastSample)
getEventForState
public Event getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
CollectionResourceWrapper resource)
getPreviousTriggeringSample
public double getPreviousTriggeringSample()
setPreviousTriggeringSample
public void setPreviousTriggeringSample(double previousTriggeringSample)
getChange
public double getChange()
setChange
public void setChange(double change)
getCleanClone
public ThresholdEvaluatorState getCleanClone()
- Description copied from interface:
ThresholdEvaluatorState
- Returns a "clean" (armed, non-triggered) clone of this object
- Returns:
isTriggered
public boolean isTriggered()
- Description copied from interface:
ThresholdEvaluatorState
- Return true if current state is TRIGGERED
clearState
public void clearState()
Copyright © 2009. All Rights Reserved.