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 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.