Skip navigation links
org.apache.myfaces.trinidad.context
Enum SuspendCallback.SuspendResult
java.lang.Object
java.lang.Enum<SuspendCallback.SuspendResult>
org.apache.myfaces.trinidad.context.SuspendCallback.SuspendResult
- All Implemented Interfaces:
- Serializable, Comparable<SuspendCallback.SuspendResult>
- Enclosing class:
- SuspendCallback
-
public static enum SuspendCallback.SuspendResult
- extends Enum<SuspendCallback.SuspendResult>
Return value for the SuspendCallback.getSuspendResult(ComponentContextChange) function to specify when to stop suspending the context change stack.
| Enum Constant Summary |
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. |
STOP
public static final SuspendCallback.SuspendResult STOP
- Stop checking changes, stop without suspending the current change.
STOP_AFTER_CURRENT
public static final SuspendCallback.SuspendResult STOP_AFTER_CURRENT
- Stop checking changes, stop after suspending the current change.
CONTINUE
public static final SuspendCallback.SuspendResult CONTINUE
- The desired change has not yet been found, keep suspending.
values
public static SuspendCallback.SuspendResult[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SuspendCallback.SuspendResult c : SuspendCallback.SuspendResult.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static SuspendCallback.SuspendResult valueOf(String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
Skip navigation links
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.