org.opennms.netmgt.threshd
Class ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange
java.lang.Object
org.opennms.netmgt.threshd.ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange
- All Implemented Interfaces:
- ThresholdEvaluatorState
- Enclosing class:
- ThresholdEvaluatorRelativeChange
public static class ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange
- extends Object
- implements ThresholdEvaluatorState
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange
public ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange(BaseThresholdDefConfigWrapper threshold)
setThresholdConfig
public void setThresholdConfig(BaseThresholdDefConfigWrapper thresholdConfig)
getThresholdConfig
public BaseThresholdDefConfigWrapper getThresholdConfig()
- Specified by:
getThresholdConfig in interface ThresholdEvaluatorState
evaluate
public ThresholdEvaluatorState.Status evaluate(double dsValue)
- Specified by:
evaluate in interface ThresholdEvaluatorState
getLastSample
public Double getLastSample()
setLastSample
public void setLastSample(double lastSample)
getEventForState
public Event getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
String dsInstance)
- Specified by:
getEventForState in interface ThresholdEvaluatorState
getPreviousTriggeringSample
public double getPreviousTriggeringSample()
setPreviousTriggeringSample
public void setPreviousTriggeringSample(double previousTriggeringSample)
getMultiplier
public double getMultiplier()
setMultiplier
public void setMultiplier(double multiplier)
getCleanClone
public ThresholdEvaluatorState getCleanClone()
- Description copied from interface:
ThresholdEvaluatorState
- Returns a "clean" (armed, non-triggered) clone of this object
- Specified by:
getCleanClone in interface ThresholdEvaluatorState
- Returns:
Copyright © 2009. All Rights Reserved.