Package com.consol.citrus.message
Interface MessageBuilder
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageBuilder
Interface for classes being able to build control messages for validation.- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messagebuild(TestContext context, String messageType)Builds the control message.
-
-
-
Method Detail
-
build
Message build(TestContext context, String messageType)
Builds the control message.- Parameters:
context- the current test context.messageType- the message type to build.- Returns:
- the constructed message object.
-
-