Class ManualConstraintViolation<T>

java.lang.Object
io.kestra.core.models.validations.ManualConstraintViolation<T>
All Implemented Interfaces:
javax.validation.ConstraintViolation<T>

public class ManualConstraintViolation<T> extends Object implements javax.validation.ConstraintViolation<T>
  • Method Details

    • of

      public static <T> ManualConstraintViolation<T> of(String message, T object, Class<T> cls, String propertyPath, Object invalidValue)
    • getMessageTemplate

      public String getMessageTemplate()
      Specified by:
      getMessageTemplate in interface javax.validation.ConstraintViolation<T>
    • getExecutableParameters

      public Object[] getExecutableParameters()
      Specified by:
      getExecutableParameters in interface javax.validation.ConstraintViolation<T>
    • getExecutableReturnValue

      public Object getExecutableReturnValue()
      Specified by:
      getExecutableReturnValue in interface javax.validation.ConstraintViolation<T>
    • getConstraintDescriptor

      public javax.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()
      Specified by:
      getConstraintDescriptor in interface javax.validation.ConstraintViolation<T>
    • unwrap

      public <C> C unwrap(Class<C> type)
      Specified by:
      unwrap in interface javax.validation.ConstraintViolation<T>