co.cask.cdap.api.log
Class LogMarkerFilterList
java.lang.Object
co.cask.cdap.api.log.LogMarkerFilterList
- All Implemented Interfaces:
- LogMarkerFilter
public class LogMarkerFilterList
- extends Object
- implements LogMarkerFilter
Implementation of LogMarkerFilter that represents an ordered List of LogMarkerFilter
which will be evaluated with a specified boolean operator LogMarkerFilterList.Operator.MUST_PASS_ALL
(!AND) or LogMarkerFilterList.Operator.MUST_PASS_ONE (!OR).
Since you can use Filter Lists as children of Filter Lists, you can create a
hierarchy of filters to be evaluated.
Defaults to LogMarkerFilterList.Operator.MUST_PASS_ALL.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogMarkerFilterList
public LogMarkerFilterList(LogMarkerFilterList.Operator operator,
LogMarkerFilter... filters)
- Constructor that takes a set of
LogMarkerFilters and an operator.
- Parameters:
operator - Operator to process filter set with.filters - set of filters.
add
public LogMarkerFilterList add(LogMarkerFilter filter)
Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.