Class Stage
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.Stage
- All Implemented Interfaces:
Comparable<Stage>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stage.Builder
builder()
int
getRules()
void
abstract Stage.Match
match()
com.codahale.metrics.MetricFilter
The metric filter matching all metrics that have been registered by this pipeline.void
registerMetrics
(com.codahale.metrics.MetricRegistry metricRegistry, String pipelineId) Register the metrics attached to this stage.void
setPipeline
(Pipeline pipeline) void
abstract int
stage()
abstract Stage.Builder
toString()
-
Constructor Details
-
Stage
public Stage()
-
-
Method Details
-
stage
public abstract int stage() -
match
-
ruleReferences
-
getRules
-
setRules
-
builder
-
toBuilder
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Stage>
-
registerMetrics
Register the metrics attached to this stage.- Parameters:
metricRegistry
- the registry to add the metrics to
-
metricsFilter
public com.codahale.metrics.MetricFilter metricsFilter()The metric filter matching all metrics that have been registered by this pipeline. Commonly used to remove the relevant metrics from the registry upon deletion of the pipeline.- Returns:
- the filter matching this pipeline's metrics
-
markExecution
public void markExecution() -
getPipeline
-
setPipeline
-
toString
-