Package org.chenile.stm.action
Interface STMAction<StateEntityType extends StateEntity>
- All Known Implementing Classes:
DummyAction
,GenericEntryAction
,GenericExitAction
public interface STMAction<StateEntityType extends StateEntity>
Implement this interface to become an STM entry or exit action.
This can be used for both entry and exit actions. The entry action is called BEFORE the state is entered. The exit method is called at the time the state is exited out of. In an entry action, if the start state is null then the end state would be the initial state for the particular flow. This can be used for making decisions around inserting a new record etc.
This can be used for both entry and exit actions. The entry action is called BEFORE the state is entered. The exit method is called at the time the state is exited out of. In an entry action, if the start state is null then the end state would be the initial state for the particular flow. This can be used for making decisions around inserting a new record etc.
Please see STMImpl.proceed(StateEntity, String, Object)
for more documentation around the
entry and exit actions.
- Author:
- Raja Shankar Kolluru
-
Method Summary
-
Method Details
-
execute
- Throws:
Exception
-