public interface ThresholdEvaluatorState extends ReinitializableState
Modifier and Type | Interface and Description |
---|---|
static class |
ThresholdEvaluatorState.Status |
static class |
ThresholdEvaluatorState.ThresholdValues |
static class |
ThresholdEvaluatorState.ValueStatus |
reinitialize
default ThresholdEvaluatorState.Status evaluate(double dsValue)
evaluate
dsValue
- a double.ThresholdEvaluatorState.Status
object.ThresholdEvaluatorState.Status evaluate(double dsValue, Long sequenceNumber)
ThresholdEvaluatorState.Status evaluate(double dsValue, ThresholdEvaluatorState.ThresholdValues thresholdValues, Long sequenceNumber)
ThresholdEvaluatorState.ValueStatus evaluate(ExpressionThresholdValueSupplier valueSupplier, Long sequenceNumber) throws ThresholdExpressionException
ThresholdExpressionException
ThresholdEvaluatorState.ValueStatus evaluate(ThresholdValuesSupplier thresholdValuesSupplier, Long sequenceNumber) throws ThresholdExpressionException
ThresholdExpressionException
Event getEventForState(ThresholdEvaluatorState.Status status, Date date, double dsValue, ThresholdEvaluatorState.ThresholdValues thresholdValues, CollectionResourceWrapper resource)
getEventForState
status
- a ThresholdEvaluatorState.Status
object.date
- a Date
object.dsValue
- a double.thresholdValues
- resource
- a CollectionResourceWrapper
object. @return a Event
object.boolean isTriggered()
void clearState()
clearState
BaseThresholdDefConfigWrapper getThresholdConfig()
getThresholdConfig
BaseThresholdDefConfigWrapper
object.ThresholdEvaluatorState getCleanClone()
ThresholdEvaluatorState
object.ThresholdingSession getThresholdingSession()
void setInstance(String instance)
Copyright © 2021. All rights reserved.