public static enum Activity.Result extends java.lang.Enum<Activity.Result>
Enum Constant and Description |
---|
ALLOW
Value used when the action should be allowed
|
DEFER
Value used when the handling of the action should be defered the default
handling
|
DISALLOW
Value used when the action should be disallowed
|
Modifier and Type | Method and Description |
---|---|
static Activity.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Activity.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Activity.Result ALLOW
public static final Activity.Result DISALLOW
public static final Activity.Result DEFER
public static Activity.Result[] values()
for (Activity.Result c : Activity.Result.values()) System.out.println(c);
public static Activity.Result 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