public static enum SetGoalResponse.Status extends Enum<SetGoalResponse.Status>
| Enum Constant and Description |
|---|
FORBIDDEN |
HOST_NOT_FOUND |
ID_MISMATCH |
INVALID_ID |
JOB_NOT_DEPLOYED |
JOB_NOT_FOUND |
OK |
| Modifier and Type | Method and Description |
|---|---|
static SetGoalResponse.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetGoalResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetGoalResponse.Status OK
public static final SetGoalResponse.Status JOB_NOT_FOUND
public static final SetGoalResponse.Status HOST_NOT_FOUND
public static final SetGoalResponse.Status JOB_NOT_DEPLOYED
public static final SetGoalResponse.Status ID_MISMATCH
public static final SetGoalResponse.Status INVALID_ID
public static final SetGoalResponse.Status FORBIDDEN
public static SetGoalResponse.Status[] values()
for (SetGoalResponse.Status c : SetGoalResponse.Status.values()) System.out.println(c);
public static SetGoalResponse.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.