public static enum AbstractJobResult.ReturnCode extends Enum<AbstractJobResult.ReturnCode>
| Enum Constant and Description |
|---|
ERROR
The error return code.
|
SUCCESS
The success return code.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractJobResult.ReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractJobResult.ReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractJobResult.ReturnCode SUCCESS
public static final AbstractJobResult.ReturnCode ERROR
public static AbstractJobResult.ReturnCode[] values()
for (AbstractJobResult.ReturnCode c : AbstractJobResult.ReturnCode.values()) System.out.println(c);
public static AbstractJobResult.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.