Class ChoiceData<S,E>
java.lang.Object
org.springframework.statemachine.config.model.ChoiceData<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
A simple data object keeping choice related configs in a same place.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ChoiceData
Instantiates a new choice data.- Parameters:
source
- the sourcetarget
- the targetguard
- the guard
-
ChoiceData
Instantiates a new choice data.- Parameters:
source
- the sourcetarget
- the targetguard
- the guardactions
- the actions
-
-
Method Details
-
getSource
Gets the source.- Returns:
- the source
-
getTarget
Gets the target.- Returns:
- the target
-
getGuard
Gets the guard.- Returns:
- the guard
-
getActions
Gets the actions.- Returns:
- the actions
-