public class RenderComponentPhase extends ViewLifecyclePhaseBase
ViewLifecycle.isRenderInLifecycle()
Constructor and Description |
---|
RenderComponentPhase() |
Modifier and Type | Method and Description |
---|---|
String |
getEndViewStatus()
Gets the expected view status after phase execution.
|
ViewLifecycle.LifecycleEvent |
getEventToNotify()
Gets the event to notify on completion.
|
String |
getStartViewStatus()
Gets the expected view status prior to phase execution.
|
String |
getViewPhase()
Gets the view lifecycle phase constant that corresponds to this phase processing task.
|
protected ViewLifecyclePhase |
initializeSuccessor(LifecycleElement nestedElement,
String nestedPath,
Component parent)
Initializes a successor of this phase for a given nested element.
|
protected void |
initializeSuccessors(Queue<ViewLifecyclePhase> successors)
Initializes queue of successor phases.
|
void |
recycle()
Resets this phase for recycling.
|
protected void |
verifyCompleted()
Verify that the all pending children have completed.
|
getCurrentTask, getDepth, getElement, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getRefreshPaths, getViewPath, hasPendingSuccessors, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, isComplete, isProcessed, notifyCompleted, prepare, processSuccessors, removePendingSuccessor, run, setNextPhase, setPredecessor, setRefreshPaths, setSkipLifecycleTasks, setTasks, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessing
public RenderComponentPhase()
public void recycle()
recycle
in interface ViewLifecyclePhase
recycle
in class ViewLifecyclePhaseBase
public String getViewPhase()
UifConstants.ViewPhases
public String getStartViewStatus()
public String getEndViewStatus()
public ViewLifecycle.LifecycleEvent getEventToNotify()
ViewLifecycle.LifecycleEvent
protected void verifyCompleted()
verifyCompleted
in class ViewLifecyclePhaseBase
protected void initializeSuccessors(Queue<ViewLifecyclePhase> successors)
This method will be called while processing this phase after all tasks have been performed, to determine phases to queue for successor processing. This phase will not be considered complete until all successors queued by this method, and all subsequent successor phases, have completed processing.
initializeSuccessors
in class ViewLifecyclePhaseBase
successors
- The queue of successor phasesprotected ViewLifecyclePhase initializeSuccessor(LifecycleElement nestedElement, String nestedPath, Component parent)
initializeSuccessor
in class ViewLifecyclePhaseBase
nestedElement
- The lifecycle elementnestedPath
- The path, relative to the parent elementparent
- The parent component of the nested element
refresh)Copyright © 2005–2015 The Kuali Foundation. All rights reserved.