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 Type
    Method
    Description
    void
    Evaluate this PipelineBlock's input against its configuration parameters.
    void
    The AlarmPipeline this block is running in has been stopped.
  • Method Details

    • evaluate

      void evaluate()
      Evaluate this PipelineBlock's input against its configuration parameters. When done evaluating, places the next block's PipelineBlock.BlockEvaluationContext onto the evaluation queue.

      Implementations should take care to check if an AlarmEvent has met DropoutConditions or the pipeline has been stopped before continuing with evaluation.

    • pipelineStopped

      void pipelineStopped()
      The AlarmPipeline this block is running in has been stopped. Abandon evaluation if possible.