java.lang.Object
java.lang.Enum<Phase>
org.ocpsoft.rewrite.faces.annotation.Phase
All Implemented Interfaces:
Serializable, Comparable<Phase>, java.lang.constant.Constable

public enum Phase extends Enum<Phase>
Defines a type-safe handle to the PhaseId constant string values.
Author:
Lincoln Baxter, III
  • Enum Constant Details

    • NONE

      public static final Phase NONE
    • RESTORE_VIEW

      public static final Phase RESTORE_VIEW
    • APPLY_REQUEST_VALUES

      public static final Phase APPLY_REQUEST_VALUES
    • PROCESS_VALIDATIONS

      public static final Phase PROCESS_VALIDATIONS
    • UPDATE_MODEL_VALUES

      public static final Phase UPDATE_MODEL_VALUES
    • INVOKE_APPLICATION

      public static final Phase INVOKE_APPLICATION
    • RENDER_RESPONSE

      public static final Phase RENDER_RESPONSE
  • Method Details

    • values

      public static Phase[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Phase 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
    • getPhaseId

      public jakarta.faces.event.PhaseId getPhaseId()