Interface EventCriterion

All Superinterfaces:
EventCriteria

public sealed interface EventCriterion extends EventCriteria
Describes a singular, non-nested criteria for filtering events. Can be acquired by using the EventCriteria.flatten() method.
Since:
5.0.0
Author:
Mitchell Herrijgers
See Also:
  • Method Details

    • types

      Set<QualifiedName> types()
      A Set of QualifiedNames containing all the types of events applicable for sourcing, streaming, or appending events.
      Returns:
      The Set of QualifiedNames containing all the types of events applicable for sourcing, streaming, or appending events.
    • tags

      Set<Tag> tags()
      A Set of Tags applicable for sourcing, streaming, or appending events. A Tag can, for example, refer to an entities' (aggregate) identifier name and value.
      Returns:
      The Set of Tags applicable for sourcing, streaming, or appending events.