Class Pipeline
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.Pipeline
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pipeline.Builderbuilder()booleancontainsRule(String ruleName) static Pipelineabstract inthashCode()abstract Stringid()voidcom.codahale.metrics.MetricFilterThe metric filter matching all metrics that have been registered by this pipeline.abstract Stringname()voidregisterMetrics(com.codahale.metrics.MetricRegistry metricRegistry) Register the metrics attached to this pipeline.stages()abstract Pipeline.BuildertoString()
-
Constructor Details
-
Pipeline
public Pipeline()
-
-
Method Details
-
id
-
name
-
stages
-
builder
-
empty
-
toBuilder
-
withId
-
hashCode
@Memoized public abstract int hashCode() -
registerMetrics
public void registerMetrics(com.codahale.metrics.MetricRegistry metricRegistry) Register the metrics attached to this pipeline.- 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() -
containsRule
-
toString
-