public enum ApprovalMode extends java.lang.Enum<ApprovalMode>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModeName()
Returns the string value for the enum.
|
static ApprovalMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApprovalMode ANY
public static final ApprovalMode ALL
public static ApprovalMode[] values()
for (ApprovalMode c : ApprovalMode.values()) System.out.println(c);
public static ApprovalMode 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 nullpublic java.lang.String getModeName()