org.ocpsoft.rewrite.faces.annotation.Phase Maven / Gradle / Ivy
/*
* Copyright 2011 Lincoln Baxter, III
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.ocpsoft.rewrite.faces.annotation;
public enum Phase
{
NONE(null),
RESTORE_VIEW(javax.faces.event.PhaseId.RESTORE_VIEW),
APPLY_REQUEST_VALUES(javax.faces.event.PhaseId.APPLY_REQUEST_VALUES),
PROCESS_VALIDATIONS(javax.faces.event.PhaseId.PROCESS_VALIDATIONS),
UPDATE_MODEL_VALUES(javax.faces.event.PhaseId.UPDATE_MODEL_VALUES),
INVOKE_APPLICATION(javax.faces.event.PhaseId.INVOKE_APPLICATION),
RENDER_RESPONSE(javax.faces.event.PhaseId.RENDER_RESPONSE);
private final javax.faces.event.PhaseId phaseId;
private Phase(javax.faces.event.PhaseId phaseId)
{
this.phaseId = phaseId;
}
public javax.faces.event.PhaseId getPhaseId()
{
return phaseId;
}
}