composeTarget

public static Target composeTarget(Class<? extends Message> targetClass, Iterable<? extends Object> ids, Iterable<CompositeFilter> filters)

Composes a target for the events/entities matching declared predicates.

Return

a Target instance formed according to the provided parameters

Parameters

targetClass

the class of a target event/entity

ids

the IDs of interest of type which is supported as identifier

filters

a set of predicates which target entity state or event message must match