Class DefaultPseudoStateContext<S,E>
java.lang.Object
org.springframework.statemachine.state.DefaultPseudoStateContext<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Implemented Interfaces:
PseudoStateContext<S,
E>
Default implementation of a
PseudoStateContext
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.statemachine.state.PseudoStateContext
PseudoStateContext.PseudoAction
-
Constructor Summary
ConstructorDescriptionDefaultPseudoStateContext
(PseudoState<S, E> pseudoState, PseudoStateContext.PseudoAction pseudoAction) Instantiates a new default pseudo state context. -
Method Summary
Modifier and TypeMethodDescriptionGets the pseudo action.Gets the pseudo state.
-
Constructor Details
-
DefaultPseudoStateContext
public DefaultPseudoStateContext(PseudoState<S, E> pseudoState, PseudoStateContext.PseudoAction pseudoAction) Instantiates a new default pseudo state context.- Parameters:
pseudoState
- the pseudo statepseudoAction
- the pseudo action
-
-
Method Details
-
getPseudoState
Description copied from interface:PseudoStateContext
Gets the pseudo state.- Specified by:
getPseudoState
in interfacePseudoStateContext<S,
E> - Returns:
- the pseudo state
-
getPseudoAction
Description copied from interface:PseudoStateContext
Gets the pseudo action.- Specified by:
getPseudoAction
in interfacePseudoStateContext<S,
E> - Returns:
- the pseudo action
-