public static enum SuspendCallback.SuspendResult extends Enum<SuspendCallback.SuspendResult>
Enum Constant and Description |
---|
CONTINUE
Suspend the current context and continue calling for any additional changes found
|
STOP_AFTER_CURRENT
Suspend up to and including the current context and do not continue to look for additional changes
|
Modifier and Type | Method and Description |
---|---|
static SuspendCallback.SuspendResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuspendCallback.SuspendResult[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SuspendCallback.SuspendResult CONTINUE
public static final SuspendCallback.SuspendResult STOP_AFTER_CURRENT
public static SuspendCallback.SuspendResult[] values()
for (SuspendCallback.SuspendResult c : SuspendCallback.SuspendResult.values()) System.out.println(c);
public static SuspendCallback.SuspendResult 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 null