Interface GenericValidationProcessor<T>

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 GenericValidationProcessor<T>
Author:
Christoph Deppisch
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(T payload, Map<String,Object> headers, TestContext context)
    Subclasses do override this method for validation purpose.
  • Method Details

    • validate

      void validate(T payload, Map<String,Object> headers, TestContext context)
      Subclasses do override this method for validation purpose.
      Parameters:
      payload - the message payload object.
      headers - the message headers
      context - the current test context