java.lang.Object
com.thoughtworks.go.plugin.api.response.validation.ValidationError

@Deprecated public class ValidationError extends Object
Deprecated.
Represents error reported when validation fails
  • Constructor Details

    • ValidationError

      public ValidationError(String key, String message)
      Deprecated.
      creates instance of ValidationError
      Parameters:
      key - the error key
      message - the error message
    • ValidationError

      public ValidationError(String message)
      Deprecated.
      creates instance of ValidationError
      Parameters:
      message - the error message
  • Method Details

    • getKey

      public String getKey()
      Deprecated.
      Gets error key
      Returns:
      error key
    • getMessage

      public String getMessage()
      Deprecated.
      Gets error message
      Returns:
      error message
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object