Interface StateMachineCommand.Support<T extends StateMachineCommand>
- Type Parameters:
T- theStateMachineCommandtype
- Enclosing interface:
StateMachineCommand
public static interface StateMachineCommand.Support<T extends StateMachineCommand>
A combination of a
StateMachineCommand.Reader and a StateMachineCommand.Writer for a concrete StateMachineCommand type, as
indicated by commandType().-
Method Summary
Modifier and TypeMethodDescriptionReturns theStateMachineCommandtype supported by thisStateMachineCommand.Support.reader()Returns theStateMachineCommand.Reader.writer()Returns theStateMachineCommand.Writer.
-
Method Details
-
commandType
Returns theStateMachineCommandtype supported by thisStateMachineCommand.Support.- Returns:
- the
StateMachineCommandtype supported by thisStateMachineCommand.Support
-
reader
StateMachineCommand.Reader<T> reader()Returns theStateMachineCommand.Reader.- Returns:
- the reader
-
writer
StateMachineCommand.Writer<T> writer()Returns theStateMachineCommand.Writer.- Returns:
- the writer
-