Interface PipelineBlock.BlockEvaluationContext
-
- Enclosing interface:
- PipelineBlock
public static interface PipelineBlock.BlockEvaluationContext
APipelineBlock.BlockEvaluationContext
is an "instance" for evaluating an incomingAlarmEvent
against aPipelineBlock
's configuration. AnAlarmPipeline
only has one instance of eachPipelineBlock
, but spawns short-livedPipelineBlock.BlockEvaluationContext
s for each block as inputs pass through.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
evaluate()
Evaluate thisPipelineBlock
's input against its configuration parameters.void
pipelineStopped()
TheAlarmPipeline
this block is running in has been stopped.
-
-
-
Method Detail
-
evaluate
void evaluate()
Evaluate thisPipelineBlock
's input against its configuration parameters. When done evaluating, places the next block'sPipelineBlock.BlockEvaluationContext
onto the evaluation queue. Implementations should take care to check if anAlarmEvent
has metDropoutCondition
s or the pipeline has been stopped before continuing with evaluation.
-
pipelineStopped
void pipelineStopped()
TheAlarmPipeline
this block is running in has been stopped. Abandon evaluation if possible.
-
-