client
1.9.0
jvm
client
/
io.spine.client
/
CompositeEventFilter
Composite
Event
Filter
public
final
class
CompositeEventFilter
extends
TypedCompositeFilter
<
M
>
A composite subscription filter which can aggregate both event message and event context filters.
Members
Functions
all
Link copied to clipboard
public
static
CompositeEventFilter
all
(
EventFilter
first
,
Array
<
EventFilter
>
rest
)
Creates a new conjunction composite filter.
either
Link copied to clipboard
public
static
CompositeEventFilter
either
(
EventFilter
first
,
Array
<
EventFilter
>
rest
)
Creates a new disjunction composite filter.
Inherited functions
and
Link copied to clipboard
public
Predicate
<
T
>
and
(
Predicate
<
? extends
Object
>
other
)
filters
Link copied to clipboard
public
List
<
MessageFilter
<
M
>
>
filters
(
)
Obtains message filters included into this composite message filter.
is
Equal
Link copied to clipboard
public
static
Predicate
<
T
>
isEqual
<
T
>
(
Object
targetRef
)
negate
Link copied to clipboard
public
Predicate
<
T
>
negate
(
)
not
Link copied to clipboard
public
static
Predicate
<
T
>
not
<
T
>
(
Predicate
<
? extends
Object
>
target
)
operator
Link copied to clipboard
public
CompositeOperator
operator
(
)
Obtains the operator which will be used for combining enclosed message filters.
or
Link copied to clipboard
public
Predicate
<
T
>
or
(
Predicate
<
? extends
Object
>
other
)
test
Link copied to clipboard
public
boolean
test
(
M
message
)
Verifies if this filter passed the message.
public
abstract
boolean
test
(
T
p
)