public static enum ApprovalRequest.Action extends Enum<ApprovalRequest.Action>
Modifier and Type | Method and Description |
---|---|
static ApprovalRequest.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalRequest.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApprovalRequest.Action Submit
public static final ApprovalRequest.Action Approve
public static final ApprovalRequest.Action Reject
public static ApprovalRequest.Action[] values()
for (ApprovalRequest.Action c : ApprovalRequest.Action.values()) System.out.println(c);
public static ApprovalRequest.Action 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 nullApache Camel