public class PhaseId extends Object implements Comparable
Typesafe enumeration of
 the legal values that may be returned by the
 getPhaseId() method of the FacesEvent interface.
| Modifier and Type | Field and Description | 
|---|---|
| static PhaseId | ANY_PHASEIdentifier that indicates an interest in events, no matter
 which request processing phase is being performed. | 
| static PhaseId | APPLY_REQUEST_VALUESIdentifier that indicates an interest in events queued for
 the Apply Request Values phase of the request
 processing lifecycle. | 
| static PhaseId | INVOKE_APPLICATIONIdentifier that indicates an interest in events queued for
 the Invoke Application phase of the request
 processing lifecycle. | 
| static PhaseId | PROCESS_VALIDATIONSIdentifier that indicates an interest in events queued for
 the Process Validations phase of the request
 processing lifecycle. | 
| static PhaseId | RENDER_RESPONSEIdentifier for the Render Response phase of the
 request processing lifecycle. | 
| static PhaseId | RESTORE_VIEWIdentifier that indicates an interest in events queued for
 the Restore View phase of the request
 processing lifecycle. | 
| static PhaseId | UPDATE_MODEL_VALUESIdentifier that indicates an interest in events queued for
 the Update Model Values phase of the request
 processing lifecycle. | 
| static List<PhaseId> | VALUESList of valid  PhaseIdinstances, in ascending order
 of their ordinal value. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Object other)Compare this  PhaseIdinstance to the specified one. | 
| String | getName()Return the name of this phase. | 
| int | getOrdinal()Return the ordinal value of this  PhaseIdinstance. | 
| static PhaseId | phaseIdValueOf(String phase)Return a  | 
| String | toString()Return a String representation of this  PhaseIdinstance. | 
public static final PhaseId ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed.
public static final PhaseId RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.
public static final PhaseId APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.
public static final PhaseId PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.
public static final PhaseId UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.
public static final PhaseId INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.
public static final PhaseId RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle.
public int compareTo(Object other)
Compare this PhaseId instance to the specified one.
 Returns a negative integer, zero, or a positive integer if this
 object is less than, equal to, or greater than the specified object.
compareTo in interface Comparableother - The other object to be compared topublic int getOrdinal()
Return the ordinal value of this PhaseId instance.
public String getName()
Return the name of this phase.
public static PhaseId phaseIdValueOf(String phase)
Return a PhaseId
 representation of the arcument phase.
phase - the String for which the corresponding
 PhaseId should be returned.NullPointerExceptionphase is
 null.FacesExceptionPhaseId
 corresponding to the argument phase cannot be found.Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.