com.atlassian.jira.rest.v1.model.errors
Class ValidationError

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

Deprecated. Superseded by ErrorCollection

@Deprecated
public class ValidationError
extends Object

Simple bean for holding a field reference and an error key as well as some optional parameters.

Since:
v4.0

Constructor Summary
ValidationError(String field, String error)
          Deprecated.  
ValidationError(String field, String error, List<String> params)
          Deprecated.  
ValidationError(String field, String error, String param)
          Deprecated.  
 
Method Summary
 boolean equals(Object o)
          Deprecated.  
 String getError()
          Deprecated.  
 String getField()
          Deprecated.  
 List<String> getParams()
          Deprecated.  
 int hashCode()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.