public class TypeFilter extends AbstractFilter
whitelist
Constructor and Description |
---|
TypeFilter() |
TypeFilter(java.lang.Class<?> c) |
Modifier and Type | Method and Description |
---|---|
void |
dispachToObserver(FilterObserver o,
FilterAction a)
Helper method for double dispatch of Filter registrations
|
boolean |
equals(java.lang.Object that) |
void |
skip(EventId id)
skip this filter for any event with the specified ID.
|
Event |
transform(Event e)
This method does the actual filtering step.
|
mustSkip, skipped
public TypeFilter()
public TypeFilter(java.lang.Class<?> c)
public void skip(EventId id)
AbstractFilter
skip
in class AbstractFilter
public boolean equals(java.lang.Object that)
public Event transform(Event e)
AbstractFilter
transform
in interface Filter
transform
in class AbstractFilter
e
- the event to be transformedpublic void dispachToObserver(FilterObserver o, FilterAction a)
dispachToObserver
in interface Filter
dispachToObserver
in class AbstractFilter