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) |
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)
public Tag getTag()
public void accept(MetricsPredicateVisitor metricsPredicateVisitor)
MetricsFilterPredicate
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class MetricsFilterPredicate