Interface IWizardStateMachine<S>
- Type Parameters:
S
- the generic type of the state object
- All Known Subinterfaces:
IBaseWizardStateMachine<S>
- All Known Implementing Classes:
BaseWizardStateMachine
,BaseWizardStateMachineModel
,WizardStateMachine
public interface IWizardStateMachine<S>
The interface
IWizardStateMachine
represents a state machine for a wizard.-
Method Summary
Modifier and TypeMethodDescriptionGets the current state.void
next()
Go to the nextWizardState
object.void
previous()
Go to the previousWizardState
object.void
setCurrentState
(S currentState) Sets the current state.
-
Method Details
-
getCurrentState
S getCurrentState()Gets the current state.- Returns:
- the current state
-
setCurrentState
Sets the current state.- Parameters:
currentState
- the new current state
-
next
void next()Go to the nextWizardState
object. -
previous
void previous()Go to the previousWizardState
object.
-