Class AbstractMessageSelector
java.lang.Object
org.citrusframework.message.selector.AbstractMessageSelector
- All Implemented Interfaces:
MessageSelector
- Direct Known Subclasses:
HeaderMatchingMessageSelector,PayloadMatchingMessageSelector
- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.message.MessageSelector
MessageSelector.AllAcceptingMessageSelector, MessageSelector.MessageSelectorFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TestContextTest contextprotected final Stringprotected final StringKey and value to evaluate selection withFields inherited from interface org.citrusframework.message.MessageSelector
factories, logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMessageSelector(String selectKey, String matchingValue, TestContext context) Default constructor using fields. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.message.MessageSelector
accept
-
Field Details
-
selectKey
Key and value to evaluate selection with -
matchingValue
-
context
Test context
-
-
Constructor Details
-
AbstractMessageSelector
Default constructor using fields.- Parameters:
selectKey-matchingValue-context-
-
-
Method Details
-
evaluate
Evaluates given value to match this selectors matching condition. Automatically supports validation matcher expressions.- Parameters:
value-- Returns:
-