Package org.citrusframework.message
Interface MessageSelector.MessageSelectorFactory
- Enclosing interface:
- MessageSelector
public static interface MessageSelector.MessageSelectorFactory
Factory capable of creating a message selector from key value pairs.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String key, String value, TestContext context) Create new message selector for given predicates.booleanCheck if this factory is able to create a message selector for given key.
-
Method Details
-
supports
Check if this factory is able to create a message selector for given key.- Parameters:
key- selector key- Returns:
- true if the factory accepts the key, false otherwise.
-
create
Create new message selector for given predicates.- Parameters:
key- selector keyvalue- selector valuecontext- test context- Returns:
- the created selector
-