Enum Constant and Description |
---|
CONFLICT |
EXPECTATION_FAILED |
FORBIDDEN |
NOT_ACCEPTABLE |
NOT_FOUND |
UNAUTHORIZED |
Modifier and Type | Method and Description |
---|---|
static Task.Fail |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Task.Fail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Fail UNAUTHORIZED
public static final Task.Fail FORBIDDEN
public static final Task.Fail NOT_FOUND
public static final Task.Fail NOT_ACCEPTABLE
public static final Task.Fail EXPECTATION_FAILED
public static final Task.Fail CONFLICT
public static Task.Fail[] values()
for (Task.Fail c : Task.Fail.values()) System.out.println(c);
public static Task.Fail 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 namejava.lang.NullPointerException
- if the argument is null