Class SecondSTMTransitionAction<StateEntityType extends StateEntity, PayloadType>

java.lang.Object
org.chenile.workflow.service.stmcmds.AbstractSTMTransitionAction<StateEntityType, PayloadType>
org.chenile.workflow.service.stmcmds.SecondSTMTransitionAction<StateEntityType, PayloadType>
Type Parameters:
StateEntityType - the subtype of the state entity
PayloadType - the type of payload
All Implemented Interfaces:
STMTransitionAction<StateEntityType>

public abstract class SecondSTMTransitionAction<StateEntityType extends StateEntity, PayloadType> extends AbstractSTMTransitionAction<StateEntityType, PayloadType>

This class also supports the notion of a chain of transition actions that can be attached to the same event. The class registers itself to the main event transition action using registerAction(String, int). An index determines the order of registration. The transition actions are executed in the order of the index starting from the first transition action.