Interface EventCondition
public interface EventCondition
Represents a condition for event receipt.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Method Summary
Modifier and TypeMethodDescriptionReturns canonical serialized associations carried by this condition, if any.Returns the predicate on anEventMessageand its accompanyingProcessingContextthrough which this condition can be evaluated.Returns a qualified name of the event message.
-
Method Details
-
predicate
BiPredicate<EventMessage,ProcessingContext> predicate()Returns the predicate on anEventMessageand its accompanyingProcessingContextthrough which this condition can be evaluated.- Returns:
- the constructed predicate
-
qualifiedName
QualifiedName qualifiedName()Returns a qualified name of the event message.- Returns:
- qualified name of the event
-
associations
Returns canonical serialized associations carried by this condition, if any.- Returns:
- serialized association strings
-