InputEnum
- The Input enum class generated in the FSM classpublic interface InputRegister<InputType extends FSMInput> extends InputScheduler<InputType>
Modifier and Type | Method and Description |
---|---|
boolean |
changesScheduled() |
int |
encodedSize() |
byte[] |
encodeMemento()
Encode the input register memento into a new array which is returned
|
byte[] |
encodeMemento(byte[] encoded)
Encodes the input register into the array passed at offset 0
|
byte[] |
encodeMemento(byte[] encoded,
int offset)
Encodes the input register into the array passed.
|
Object |
getAssociatedObject(InputType input)
Returns the object associated with the input
|
boolean |
isRaised(FSMInputName input) |
void |
loadMemento(byte[] encodedMemento)
Load the memento from the array from offset 0
|
void |
loadMemento(byte[] encodedMemento,
int offset)
Load the memento from the array from offset position
|
void |
postExecution()
Perform any post execution cycle processing.
|
void |
preExecution()
Perform any pre execution cycle processing.
|
void |
setInputPersistence(com.opencloud.sce.fsmtool.impl.FSMPersistence inputPersistence)
Setter injector method
|
void |
setInputs(FSMInputName[] inputs)
Setter injector method
|
String |
toString() |
clear, clearAll, clearAllEventObjects, clearAssociatedObject, clearDurable, clearDurableEventObjects, clearTransient, clearTransientEventObjects, raise, raise
void setInputs(FSMInputName[] inputs)
inputs
- void setInputPersistence(com.opencloud.sce.fsmtool.impl.FSMPersistence inputPersistence)
inputPersistence
- void preExecution()
void postExecution()
boolean changesScheduled()
boolean isRaised(FSMInputName input)
input
- Object getAssociatedObject(InputType input)
input
- void loadMemento(byte[] encodedMemento)
encodedMemento
- memento creating using encodeMemento()
,
#encodeMemento(byte[]) or {@link #encodeMemento(byte[], int)}void loadMemento(byte[] encodedMemento, int offset)
encodedMemento
- memento creating using encodeMemento()
,
#encodeMemento(byte[]) or {@link #encodeMemento(byte[], int)}offset
- offset position in the encodedMemento where memento startsbyte[] encodeMemento()
int encodedSize()
byte[] encodeMemento(byte[] encoded)
encoded
- byte[] to write the memento tobyte[] encodeMemento(byte[] encoded, int offset)
encoded
- byte[] to write the memento to