Class Pipeline
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.Pipeline
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pipeline.Builder
builder()
boolean
containsRule
(String ruleName) static Pipeline
abstract int
hashCode()
abstract String
id()
void
com.codahale.metrics.MetricFilter
The metric filter matching all metrics that have been registered by this pipeline.abstract String
name()
void
registerMetrics
(com.codahale.metrics.MetricRegistry metricRegistry) Register the metrics attached to this pipeline.stages()
abstract Pipeline.Builder
toString()
-
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
-