Interface StateMachineCommand.Support<T extends StateMachineCommand>
- Type Parameters:
T
- theStateMachineCommand
type
- 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 theStateMachineCommand
type supported by thisStateMachineCommand.Support
.reader()
Returns theStateMachineCommand.Reader
.writer()
Returns theStateMachineCommand.Writer
.
-
Method Details
-
commandType
Returns theStateMachineCommand
type supported by thisStateMachineCommand.Support
.- Returns:
- the
StateMachineCommand
type 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
-