public interface ThresholdEvaluatorState
Modifier and Type | Interface and Description |
---|---|
static class |
ThresholdEvaluatorState.Status |
Modifier and Type | Method and Description |
---|---|
void |
clearState()
clearState
|
ThresholdEvaluatorState.Status |
evaluate(double dsValue)
evaluate
|
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
|
boolean |
isTriggered()
Return true if current state is TRIGGERED
|
ThresholdEvaluatorState.Status evaluate(double dsValue)
evaluate
dsValue
- a double.ThresholdEvaluatorState.Status
object.Event getEventForState(ThresholdEvaluatorState.Status status, Date date, double dsValue, CollectionResourceWrapper resource)
getEventForState
status
- a ThresholdEvaluatorState.Status
object.date
- a Date
object.dsValue
- a double.resource
- a CollectionResourceWrapper
object.Event
object.boolean isTriggered()
void clearState()
clearState
BaseThresholdDefConfigWrapper getThresholdConfig()
getThresholdConfig
BaseThresholdDefConfigWrapper
object.ThresholdEvaluatorState getCleanClone()
ThresholdEvaluatorState
object.Copyright © 2019. All rights reserved.