org.apache.myfaces.trinidad.change

## Enum ChangeManager.ChangeOutcome

- java.lang.Object
- - java.lang.Enum<ChangeManager.ChangeOutcome>
  - - org.apache.myfaces.trinidad.change.ChangeManager.ChangeOutcome

- All Implemented Interfaces:
    Serializable, Comparable<ChangeManager.ChangeOutcome>
  Enclosing class:
    ChangeManager

      public static enum ChangeManager.ChangeOutcome
      extends Enum<ChangeManager.ChangeOutcome>

  Indicates the outcome of the attempt to apply a Change. Possible outcomes are: 1. UNKNOWN - We do not know if the change was applied or not 2. CHANGE_APPLIED - Change was successfully applied 3. CHANGE_NOT_APPLIED - There was a failure when applying the Change
  See Also:
    `ChangeManager.addDocumentChangeWithOutcome(FacesContext,UIComponent,DocumentChange)`

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `CHANGE_APPLIED`
    `CHANGE_NOT_APPLIED`
    `UNKNOWN`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ChangeManager.ChangeOutcome` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static ChangeManager.ChangeOutcome[]` | `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

    - #### UNKNOWN

          public static final ChangeManager.ChangeOutcome UNKNOWN

    - #### CHANGE_APPLIED

          public static final ChangeManager.ChangeOutcome CHANGE_APPLIED

    - #### CHANGE_NOT_APPLIED

          public static final ChangeManager.ChangeOutcome CHANGE_NOT_APPLIED

  - ### Method Detail

    - #### values

          public static ChangeManager.ChangeOutcome[] 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 (ChangeManager.ChangeOutcome c : ChangeManager.ChangeOutcome.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static ChangeManager.ChangeOutcome 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.