Class MultipleCommandsRegistry.OrderedCommand
java.lang.Object
org.chenile.workflow.service.stmcmds.MultipleCommandsRegistry.OrderedCommand
- All Implemented Interfaces:
Comparable<MultipleCommandsRegistry<StateEntityType, PayloadType>.OrderedCommand>
- Enclosing class:
MultipleCommandsRegistry<StateEntityType extends StateEntity, PayloadType>
public class MultipleCommandsRegistry.OrderedCommand
extends Object
implements Comparable<MultipleCommandsRegistry<StateEntityType, PayloadType>.OrderedCommand>
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThis class is needed to ensure that the commands are retrieved in the correct order -
Constructor Summary
ConstructorsConstructorDescriptionOrderedCommand(int index, SecondSTMTransitionAction<StateEntityType, PayloadType> action) -
Method Summary
Modifier and TypeMethodDescriptionint
-
Field Details
-
index
public int indexThis class is needed to ensure that the commands are retrieved in the correct order -
action
-
-
Constructor Details
-
OrderedCommand
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<MultipleCommandsRegistry<StateEntityType extends StateEntity, PayloadType>.OrderedCommand>
-