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

    Enum Constants
    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.

  - ### Method Summary

    Methods
    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.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### 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.

  - ### Method Detail

    - #### 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

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.