Package org.chenile.stm.action
Interface STMTransitionAction<StateEntityType extends StateEntity>
- Type Parameters:
StateEntityType
-
- All Known Implementing Classes:
AbstractSTMTransitionAction
,BaseTransitionAction
,DummyTransitionAction
public interface STMTransitionAction<StateEntityType extends StateEntity>
This interface must be implemented to capture the actual logic to update the state to the new state ID.
STM calls this method (if set) for every state event that occurs. STM also supports the notion
of a default transition action if this action is not explicitly set for a transition. Use the
<default-transition-action componentName=""/> tag to define a default transition action.
Chenile Workflow uses this to implement more functionality.
Chenile Workflow uses this to implement more functionality.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doTransition
(StateEntityType stateEntity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm, Transition transition)
-
Method Details
-
doTransition
void doTransition(StateEntityType stateEntity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm, Transition transition) throws Exception - Throws:
Exception
-