public static enum SuspendCallback.SuspendResult extends Enum<SuspendCallback.SuspendResult>
SuspendCallback.getSuspendResult(ComponentContextChange)
function to specify
when to stop suspending the context change stack.Enum Constant and Description |
---|
CONTINUE
The desired change has not yet been found, keep suspending.
|
STOP
Stop checking changes, stop without suspending the current change.
|
STOP_AFTER_CURRENT
Stop checking changes, stop after suspending the current change.
|
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 STOP
public static final SuspendCallback.SuspendResult STOP_AFTER_CURRENT
public static final SuspendCallback.SuspendResult CONTINUE
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 nullCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.