public static enum RestApi.ErrorType extends java.lang.Enum<RestApi.ErrorType>
Enum Constant and Description |
---|
CATCH
Corresponds to the catch terminal of an HTTPInput node.
|
FAILURE
Corresponds to the failure terminal of an HTTPInput node.
|
TIMEOUT
Corresponds to the timeout terminal of an HTTPInput node.
|
Modifier and Type | Method and Description |
---|---|
static RestApi.ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RestApi.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestApi.ErrorType CATCH
public static final RestApi.ErrorType FAILURE
public static final RestApi.ErrorType TIMEOUT
public static RestApi.ErrorType[] values()
for (RestApi.ErrorType c : RestApi.ErrorType.values()) System.out.println(c);
public static RestApi.ErrorType 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