Interface PipelineBlock.BlockEvaluationContext
- Enclosing interface:
- PipelineBlock
public static interface PipelineBlock.BlockEvaluationContext
A
PipelineBlock.BlockEvaluationContext is an "instance" for evaluating an incoming AlarmEvent against a PipelineBlock's configuration.
An AlarmPipeline only has one instance of each PipelineBlock, but spawns short-lived PipelineBlock.BlockEvaluationContexts for each block as inputs pass through.
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate()Evaluate thisPipelineBlock's input against its configuration parameters.voidTheAlarmPipelinethis block is running in has been stopped.
-
Method Details
-
evaluate
void evaluate()Evaluate thisPipelineBlock's input against its configuration parameters. When done evaluating, places the next block'sPipelineBlock.BlockEvaluationContextonto the evaluation queue. Implementations should take care to check if anAlarmEventhas metDropoutConditions or the pipeline has been stopped before continuing with evaluation. -
pipelineStopped
void pipelineStopped()TheAlarmPipelinethis block is running in has been stopped. Abandon evaluation if possible.
-