Class ValidationMessageAdapter

java.lang.Object
io.micronaut.jsonschema.validation.ValidationMessageAdapter
All Implemented Interfaces:
ValidationMessage

@Internal public class ValidationMessageAdapter extends Object implements ValidationMessage
Adapter from ValidationMessage into ValidationMessage.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • ValidationMessageAdapter

      public ValidationMessageAdapter(com.networknt.schema.ValidationMessage validationMessage)
      Parameters:
      validationMessage - Original validation message.
  • Method Details

    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface ValidationMessage
      Returns:
      JSON Schema Validation Message
    • getValidationMessage

      public com.networknt.schema.ValidationMessage getValidationMessage()
      Returns:
      Original validation message.
    • toString

      public String toString()
      Overrides:
      toString in class Object