Class ValidationError

java.lang.Object
com.atlassian.jira.rest.v1.model.errors.ValidationError

@Deprecated public class ValidationError extends Object
Deprecated.
Superseded by ErrorCollection
Simple bean for holding a field reference and an error key as well as some optional parameters.
Since:
v4.0
  • Constructor Details

    • ValidationError

      public ValidationError(String field, String error)
      Deprecated.
    • ValidationError

      public ValidationError(String field, String error, List<String> params)
      Deprecated.
    • ValidationError

      public ValidationError(String field, String error, String param)
      Deprecated.
  • Method Details

    • getField

      public String getField()
      Deprecated.
    • getError

      public String getError()
      Deprecated.
    • getParams

      public List<String> getParams()
      Deprecated.
    • hashCode

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

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object