Enum Class PhaseId
- All Implemented Interfaces:
Serializable, Comparable<PhaseId>, Constable
Enum of the legal values that may be returned by the
getPhaseId() method of the FacesEvent interface.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifier that indicates an interest in events, no matter which request processing phase is being performed.Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.Identifier for the Render Response phase of the request processing lifecycle.Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return the name of this phase.intReturn the ordinal value of thisPhaseIdinstance.static PhaseIdphaseIdValueOf(String phase) Return aPhaseIdrepresentation of the argumentphase.toString()Return a String representation of thisPhaseIdinstance.static PhaseIdReturns the enum constant of this class with the specified name.static PhaseId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed.
-
RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.
-
APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.
-
PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.
-
UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.
-
INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.
-
RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle.
-
-
Field Details
-
VALUES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getOrdinal
-
toString
-
getName
-
phaseIdValueOf
Return a
PhaseIdrepresentation of the argumentphase.- Parameters:
phase- the String for which the correspondingPhaseIdshould be returned.- Returns:
- the phase id corresponding to the argument
phase - Throws:
NullPointerException- if argumentphaseisnull.FacesException- if thePhaseIdcorresponding to the argumentphasecannot be found.- Since:
- 2.2
-