Typesafe enumeration of
the legal values that may be returned by the
getPhaseId() method of the FacesEvent interface.
| Modifier and Type | Field and Description |
|---|---|
| public static final PhaseId | ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed. |
| private static final String | |
| 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. |
| private static final String | |
| public static final PhaseId | INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle. |
| private static final String | |
| private static int | nextOrdinal
Static counter returning the ordinal value to be assigned to the next instance that is created. |
| private final int | ordinal
The ordinal value assigned to this instance. |
| private String | phaseName
The (optional) name for this phase. |
| public static final PhaseId | PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle. |
| private static final String | |
| public static final PhaseId | RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle. |
| private static final String | |
| public static final PhaseId | RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle. |
| private static final String | |
| 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. |
| private static final String | |
| private static final PhaseId[] | values
Array of all defined values, ascending order of ordinal value. |
| public static final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(Object
The other object to be compared to other)Implements java. Compare this |
| public String | |
| public int | |
| public static PhaseId | Returns: the phase id corresponding to the argumentphasethe String for which the corresponding
phase)PhaseId should be returned.Return a |
| public String | toString()
Overrides java. Return a String representation of this |
| ANY_PHASE | back to summary |
|---|---|
| public static final PhaseId ANY_PHASE Identifier that indicates an interest in events, no matter which request processing phase is being performed. | |
| ANY_PHASE_NAME | back to summary |
|---|---|
| private static final String ANY_PHASE_NAME | |
| APPLY_REQUEST_VALUES | back to summary |
|---|---|
| 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. | |
| APPLY_REQUEST_VALUES_NAME | back to summary |
|---|---|
| private static final String APPLY_REQUEST_VALUES_NAME | |
| INVOKE_APPLICATION | back to summary |
|---|---|
| public static final PhaseId INVOKE_APPLICATION Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle. | |
| INVOKE_APPLICATION_NAME | back to summary |
|---|---|
| private static final String INVOKE_APPLICATION_NAME | |
| nextOrdinal | back to summary |
|---|---|
| private static int nextOrdinal Static counter returning the ordinal value to be assigned to the next instance that is created. | |
| ordinal | back to summary |
|---|---|
| private final int ordinal The ordinal value assigned to this instance. | |
| phaseName | back to summary |
|---|---|
| private String phaseName The (optional) name for this phase. | |
| PROCESS_VALIDATIONS | back to summary |
|---|---|
| public static final PhaseId PROCESS_VALIDATIONS Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle. | |
| PROCESS_VALIDATIONS_NAME | back to summary |
|---|---|
| private static final String PROCESS_VALIDATIONS_NAME | |
| RENDER_RESPONSE | back to summary |
|---|---|
| public static final PhaseId RENDER_RESPONSE Identifier for the Render Response phase of the request processing lifecycle. | |
| RENDER_RESPONSE_NAME | back to summary |
|---|---|
| private static final String RENDER_RESPONSE_NAME | |
| RESTORE_VIEW | back to summary |
|---|---|
| public static final PhaseId RESTORE_VIEW Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle. | |
| RESTORE_VIEW_NAME | back to summary |
|---|---|
| private static final String RESTORE_VIEW_NAME | |
| UPDATE_MODEL_VALUES | back to summary |
|---|---|
| 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. | |
| UPDATE_MODEL_VALUES_NAME | back to summary |
|---|---|
| private static final String UPDATE_MODEL_VALUES_NAME | |
| values | back to summary |
|---|---|
| private static final PhaseId[] values Array of all defined values, ascending order of ordinal value. Be sure you include any new instances created above, in the same order. | |
| VALUES | back to summary |
|---|---|
| public static final List<PhaseId> VALUES List of valid | |
| PhaseId | back to summary |
|---|---|
| private PhaseId(String newPhaseName) Private constructor to disable the creation of new instances. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object other) Implements java. Compare this
| |
| getName | back to summary |
|---|---|
| public String getName() Return the name of this phase.
| |
| getOrdinal | back to summary |
|---|---|
| public int getOrdinal() Return the ordinal value of this
| |
| phaseIdValueOf | back to summary |
|---|---|
| public static PhaseId phaseIdValueOf(String phase) Return a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of this
| |