java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.Stage
All Implemented Interfaces:
Comparable<Stage>

public abstract class Stage extends Object implements Comparable<Stage>
  • Constructor Details

    • Stage

      public Stage()
  • Method Details

    • stage

      public abstract int stage()
    • match

      public abstract Stage.Match match()
    • ruleReferences

      public abstract List<String> ruleReferences()
    • getRules

      public List<Rule> getRules()
    • setRules

      public void setRules(List<Rule> rules)
    • builder

      public static Stage.Builder builder()
    • toBuilder

      public abstract Stage.Builder toBuilder()
    • compareTo

      public int compareTo(Stage other)
      Specified by:
      compareTo in interface Comparable<Stage>
    • registerMetrics

      public void registerMetrics(PipelineMetricRegistry metricRegistry, String pipelineId)
      Register the metrics attached to this stage.
      Parameters:
      metricRegistry - the registry to add the metrics to
      pipelineId - the pipeline ID
    • markExecution

      public void markExecution()
    • getPipeline

      public Pipeline getPipeline()
    • setPipeline

      public void setPipeline(Pipeline pipeline)
    • toString

      public String toString()
      Overrides:
      toString in class Object