|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.craftforge.essential.controller.phases.flow.StandardPhaseFlow
public class StandardPhaseFlow
The standard phase flow defines a default flow for phases.
| Constructor Summary | |
|---|---|
StandardPhaseFlow()
|
|
| Method Summary | |
|---|---|
Phase |
getFirstPhase()
Gets the controller phase to start with |
Phase |
getPhaseAfter(Phase phase)
Gets the controller phase which follows after the given phase. |
protected Phase |
getPhaseAfterAllocation()
Gets the phase following an allocation phase. |
protected Phase |
getPhaseAfterAuthentication()
Gets the phase following an authentication phase. |
protected Phase |
getPhaseAfterDocumentation()
Gets the phase following a documentation phase. |
protected Phase |
getPhaseAfterInvocation()
Gets the phase following an invocation phase. |
protected Phase |
getPhaseAfterProduction()
Gets the phase following a production phase. |
void |
setSetup(Setup setup)
Sets the controller setup |
void |
setState(State state)
Sets the controller state |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardPhaseFlow()
| Method Detail |
|---|
public void setState(State state)
setState in interface PhaseFlowstate - The controller statepublic void setSetup(Setup setup)
setSetup in interface PhaseFlowsetup - The controller setuppublic Phase getFirstPhase()
getFirstPhase in interface PhaseFlow
public Phase getPhaseAfter(Phase phase)
throws ControllerException
getPhaseAfter in interface PhaseFlowphase - The phase to estimate the following phase for
ControllerException - if the input phase is not known by the phase flowprotected Phase getPhaseAfterAllocation()
protected Phase getPhaseAfterAuthentication()
protected Phase getPhaseAfterInvocation()
protected Phase getPhaseAfterDocumentation()
protected Phase getPhaseAfterProduction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||