Interface OutputFormat<T>

    • Method Detail

      • customize

        default 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
      • format

        T format​(JsonSchema jsonSchema,
                 Set<ValidationMessage> validationMessages,
                 ExecutionContext executionContext,
                 ValidationContext validationContext)
        Formats the validation results.
        Parameters:
        jsonSchema - the schema
        validationMessages - the validation messages
        executionContext - the execution context
        validationContext - the validation context
        Returns:
        the result