|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.event.PortalEventFilters
public abstract class PortalEventFilters
Provides utility methods for IPortalEventFilter
manipulation.
Method Summary | |
---|---|
static IPortalEventFilter |
all()
Returns an event filter that accepts all events. |
static IPortalEventFilter |
and(IPortalEventFilter... filters)
Returns an event filter that accepts only events that all of the given filters would accept. |
static IPortalEventFilter |
byClasses(Class<?>... classes)
Returns an event filter that accepts only events of any of the specified classes. |
static IPortalEventFilter |
byGroups(String... groups)
Returns an event filter that accepts only event that contain any of the specified groups as its group. |
static IPortalEventFilter |
byInstanceOf(Class<?>... classes)
Returns an event filter that accepts events that are instance of any the specified classes. |
static IPortalEventFilter |
not(IPortalEventFilter filter)
Returns an event filter that accepts only events that the given filter would not accept. |
static IPortalEventFilter |
or(IPortalEventFilter... filters)
Returns an event filter that accepts any event that any of the given filters would accept. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IPortalEventFilter all()
public static IPortalEventFilter byClasses(Class<?>... classes)
byInstanceOf(Class...)
instead.
classes
- the classes.
public static IPortalEventFilter byInstanceOf(Class<?>... classes)
classes
- the classes.
byClasses(Class...)
public static IPortalEventFilter byGroups(String... groups)
groups
- the groups.
public static IPortalEventFilter or(IPortalEventFilter... filters)
filters
- the filters.
public static IPortalEventFilter and(IPortalEventFilter... filters)
filters
- the filters.
public static IPortalEventFilter not(IPortalEventFilter filter)
filter
- the filter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |