CompositeEventFilter

public final class CompositeEventFilter extends TypedCompositeFilter<M>

A composite subscription filter which can aggregate both event message and event context filters.

Functions

Link copied to clipboard
public static CompositeEventFilter all(EventFilter first, Array<EventFilter> rest)
Creates a new conjunction composite filter.
Link copied to clipboard
Creates a new disjunction composite filter.

Inherited functions

Link copied to clipboard
public Predicate<T> and(Predicate<? extends Object> other)
Link copied to clipboard
public List<MessageFilter<M>> filters()
Obtains message filters included into this composite message filter.
Link copied to clipboard
public static Predicate<T> isEqual<T>(Object targetRef)
Link copied to clipboard
public Predicate<T> negate()
Link copied to clipboard
public static Predicate<T> not<T>(Predicate<? extends Object> target)
Link copied to clipboard
public CompositeOperator operator()
Obtains the operator which will be used for combining enclosed message filters.
Link copied to clipboard
public Predicate<T> or(Predicate<? extends Object> other)
Link copied to clipboard
public boolean test(M message)
Verifies if this filter passed the message.
public abstract boolean test(T p)