public class AnalyticsFilter extends Object implements Serializable
AnalyticsPrefixPredicate
, AnalyticsTagPredicate
or AnalyticsAndOperator
. If no filter is provided, all objects will be considered
for analysis.Constructor and Description |
---|
AnalyticsFilter() |
AnalyticsFilter(AnalyticsFilterPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
AnalyticsFilterPredicate |
getPredicate()
Returns the
AnalyticsFilterPredicate to be used when evaluating an analytics filter. |
void |
setPredicate(AnalyticsFilterPredicate predicate)
Sets the
AnalyticsFilterPredicate to be used when evaluating an analytics filter. |
AnalyticsFilter |
withPredicate(AnalyticsFilterPredicate predicate)
Sets the
AnalyticsFilterPredicate to be used when evaluating an analytics filter
and returns the AnalyticsFilter object for method chaining. |
public AnalyticsFilter()
public AnalyticsFilter(AnalyticsFilterPredicate predicate)
public AnalyticsFilterPredicate getPredicate()
AnalyticsFilterPredicate
to be used when evaluating an analytics filter.
The predicate is one of AnalyticsPrefixPredicate
, AnalyticsTagPredicate
or AnalyticsAndOperator
.public void setPredicate(AnalyticsFilterPredicate predicate)
AnalyticsFilterPredicate
to be used when evaluating an analytics filter.
The predicate should be one of AnalyticsPrefixPredicate
, AnalyticsTagPredicate
or AnalyticsAndOperator
.public AnalyticsFilter withPredicate(AnalyticsFilterPredicate predicate)
AnalyticsFilterPredicate
to be used when evaluating an analytics filter
and returns the AnalyticsFilter
object for method chaining.
The predicate should be one of AnalyticsPrefixPredicate
, AnalyticsTagPredicate
or AnalyticsAndOperator
.