public class ScopeFilter extends AbstractFilter
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
LOG |
type, whitelist
Constructor and Description |
---|
ScopeFilter(Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
dispachToObserver(FilterObserver observer,
FilterAction action)
Helper method for double dispatch of Filter registrations
|
boolean |
equals(java.lang.Object that) |
Scope |
getScope() |
void |
setScope(Scope scope) |
void |
skip(EventId eventId)
skip this filter for any event with the specified ID.
|
Event |
transform(Event event)
This method does the actual filtering step.
|
mustSkip, skipped
public ScopeFilter(Scope scope)
public void dispachToObserver(FilterObserver observer, FilterAction action)
dispachToObserver
in interface Filter
dispachToObserver
in class AbstractFilter
public void setScope(Scope scope)
public Scope getScope()
public void skip(EventId eventId)
AbstractFilter
skip
in class AbstractFilter
public boolean equals(java.lang.Object that)
public Event transform(Event event)
AbstractFilter
transform
in interface Filter
transform
in class AbstractFilter
event
- the event to be transformed