|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ErrorCollection.Reason> com.atlassian.greenhopper.model.validation.ErrorCollection.Reason
public static enum ErrorCollection.Reason
Copied from JIRA's ErrorCollection interface. Ordering implies priority in terms of "definitive-ness".
Enum Constant Summary | |
---|---|
CONFLICT
Conflict with another user. |
|
FORBIDDEN
Not allowed to perform function. |
|
NOT_FOUND
That which you are seeking is not here. |
|
SERVER_ERROR
We are all broken. |
|
VALIDATION_FAILED
Data validation failed. |
Field Summary | |
---|---|
javax.ws.rs.core.Response.Status |
mappedStatus
|
Method Summary | |
---|---|
static ErrorCollection.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ErrorCollection.Reason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorCollection.Reason SERVER_ERROR
public static final ErrorCollection.Reason FORBIDDEN
public static final ErrorCollection.Reason NOT_FOUND
public static final ErrorCollection.Reason VALIDATION_FAILED
public static final ErrorCollection.Reason CONFLICT
Field Detail |
---|
public final javax.ws.rs.core.Response.Status mappedStatus
Method Detail |
---|
public static ErrorCollection.Reason[] values()
for (ErrorCollection.Reason c : ErrorCollection.Reason.values()) System.out.println(c);
public static ErrorCollection.Reason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |