public static enum AbstractTaskResult.ReturnCode extends Enum<AbstractTaskResult.ReturnCode>
| Enum Constant and Description |
|---|
DEPLOYMENT_ERROR |
ILLEGAL_STATE |
INSUFFICIENT_RESOURCES |
IPC_ERROR |
NO_INSTANCE |
SUCCESS |
TASK_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
static AbstractTaskResult.ReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractTaskResult.ReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractTaskResult.ReturnCode SUCCESS
public static final AbstractTaskResult.ReturnCode DEPLOYMENT_ERROR
public static final AbstractTaskResult.ReturnCode IPC_ERROR
public static final AbstractTaskResult.ReturnCode NO_INSTANCE
public static final AbstractTaskResult.ReturnCode ILLEGAL_STATE
public static final AbstractTaskResult.ReturnCode TASK_NOT_FOUND
public static final AbstractTaskResult.ReturnCode INSUFFICIENT_RESOURCES
public static AbstractTaskResult.ReturnCode[] values()
for (AbstractTaskResult.ReturnCode c : AbstractTaskResult.ReturnCode.values()) System.out.println(c);
public static AbstractTaskResult.ReturnCode 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 © 2014 The Apache Software Foundation. All rights reserved.