public final class MetricsTagPredicate extends MetricsFilterPredicate
MetricsFilterPredicate class to represent the Tag object
to use when evaluating a metrics filter.| Constructor and Description |
|---|
MetricsTagPredicate(Tag tag)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetricsPredicateVisitor metricsPredicateVisitor)
Helper method that accepts an implemenation of
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor. |
Tag |
getTag() |
public MetricsTagPredicate(Tag tag)
tag - the tag used to evaluate a metrics filter.public Tag getTag()
public void accept(MetricsPredicateVisitor metricsPredicateVisitor)
MetricsFilterPredicateMetricsPredicateVisitor
and invokes the most applicable visit method in the visitor.accept in class MetricsFilterPredicatemetricsPredicateVisitor - the MetricsPredicateVisitor.Copyright © 2019. All rights reserved.