Interface ExecutionContextCustomizer

  • 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 ExecutionContextCustomizer
    Customize the execution context before validation.
    • Method Detail

      • customize

        void customize​(ExecutionContext executionContext,
                       ValidationContext validationContext)
        Customize the execution context before validation.

        The validation context should only be used for reference as it is shared.

        Parameters:
        executionContext - the execution context
        validationContext - the validation context for reference