public class DefaultWizardState extends AbstractWizardState
Modifier and Type | Field and Description |
---|---|
static java.lang.Object[] |
NULL_TRANSITIONS |
CONTEXT_WIZARD_STATE, CONTEXT_WIZARD_STATE_EXIT_TRANSITION
Constructor and Description |
---|
DefaultWizardState(java.lang.Object stateId,
java.lang.Object[] exitTransitions)
This constructor is for use by sub-classes who want to add a
nested (composite) State, or where the Step will be resolved
via the ToolkitRegistry using WizardStep builders.
|
DefaultWizardState(java.lang.Object stateId,
java.lang.Object[] exitTransitions,
Step step) |
Modifier and Type | Method and Description |
---|---|
protected void |
addState(FSMBuilder builder) |
protected void |
addTransitions(FSMBuilder builder) |
boolean |
containsExitTransition(java.lang.Object tran) |
WizardState |
getBoundState(java.lang.Object exitTran) |
java.lang.Object |
getDefaultStateId() |
java.lang.Object[] |
getExitTransitions() |
Step |
getWizardStep() |
void |
setWizardStep(Step step) |
addFinalState, addStartState, addState, bind, buildState, findExitTransition, findWizardState, getParentState, getStateId, putExitTransition, putWizardState, setParentState
public DefaultWizardState(java.lang.Object stateId, java.lang.Object[] exitTransitions, Step step)
public DefaultWizardState(java.lang.Object stateId, java.lang.Object[] exitTransitions)
addStep(WizardState state)
.
or call setWizardStep
at some point;stateId
- entry transition into the nested stateexitTransitions
- transitions out of the nested statepublic boolean containsExitTransition(java.lang.Object tran)
containsExitTransition
in interface WizardState
containsExitTransition
in class AbstractWizardState
protected void addState(FSMBuilder builder)
addState
in class AbstractWizardState
protected void addTransitions(FSMBuilder builder)
addTransitions
in class AbstractWizardState
public Step getWizardStep()
public java.lang.Object[] getExitTransitions()
public WizardState getBoundState(java.lang.Object exitTran)
public java.lang.Object getDefaultStateId()
public void setWizardStep(Step step)