public class TracerFilter extends Object implements MessageFilter
MessageFilter.| Modifier and Type | Class and Description |
|---|---|
static class |
TracerFilter.Method
Enumeration of methods that determine how the filter definition string is interpreted
to decide whether the target satisfies the filter.
|
static class |
TracerFilter.Mode
Enumeration of filter application modes.
|
static class |
TracerFilter.Target
Enumeration of targets to which the filter can be applied.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
T_P_DELIMETER
Delimeter between target and pattern parts of the filter definition code string.
|
| Constructor and Description |
|---|
TracerFilter(TracerFilter.Mode mode,
boolean invert,
boolean format,
TracerFilter.Target target,
TracerFilter.Method method,
String code,
Color color,
FilteredMessage.Flag action,
FilterRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
FilteredMessage.Flag |
getAction() |
String |
getCode() |
Color |
getColor() |
TracerFilter.Method |
getMethod() |
TracerFilter.Mode |
getMode() |
String |
getPath()
Returns the path of the filters created by this factory.
|
TracerFilter.Target |
getTarget() |
boolean |
isFormatting() |
boolean |
isInverted() |
void |
setName(String name) |
FilteredMessage |
test(FilteredMessage filteredMessage)
Applies this filter to the given message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getParameters, setParametersgetDescription, getNamepublic static final String T_P_DELIMETER
public TracerFilter(TracerFilter.Mode mode, boolean invert, boolean format, TracerFilter.Target target, TracerFilter.Method method, String code, Color color, FilteredMessage.Flag action, FilterRegistry registry)
public TracerFilter.Mode getMode()
public boolean isInverted()
public boolean isFormatting()
public TracerFilter.Target getTarget()
public TracerFilter.Method getMethod()
public String getCode()
public Color getColor()
public FilteredMessage.Flag getAction()
public void setName(String name)
public String getPath()
MessageFilterFactorygetPath in interface MessageFiltergetPath in interface MessageFilterFactorypublic FilteredMessage test(FilteredMessage filteredMessage)
MessageFiltertest in interface MessageFilterfilteredMessage - The message to be filtered.null otherwise.Copyright © 2018 LSST. All rights reserved.