Class AbstractMessageSelector
- java.lang.Object
-
- com.consol.citrus.message.selector.AbstractMessageSelector
-
- All Implemented Interfaces:
com.consol.citrus.message.MessageSelector
- Direct Known Subclasses:
HeaderMatchingMessageSelector
,PayloadMatchingMessageSelector
public abstract class AbstractMessageSelector extends Object implements com.consol.citrus.message.MessageSelector
- Since:
- 3.0
- Author:
- Christoph Deppisch
-
-
Field Summary
Fields Modifier and Type Field Description protected com.consol.citrus.context.TestContext
context
Test contextprotected String
matchingValue
protected String
selectKey
Key and value to evaluate selection with
-
Constructor Summary
Constructors Constructor Description AbstractMessageSelector(String selectKey, String matchingValue, com.consol.citrus.context.TestContext context)
Default constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
evaluate(String value)
Evaluates given value to match this selectors matching condition.
-
-
-
Method Detail
-
evaluate
protected boolean evaluate(String value)
Evaluates given value to match this selectors matching condition. Automatically supports validation matcher expressions.- Parameters:
value
-- Returns:
-
-