| Modifier and Type | Class and Description |
|---|---|
class |
StateMachineBuilder<S,E,T,C,M extends StateMachine<S,E,T>>
A builder to create
SimpleStateMachines. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GenericStateMachine |
interface |
SimpleStatefulStateMachine<S,E,T> |
interface |
SimpleStateMachine<S,E,T>
A state machine.
|
interface |
StatefulStateMachine<S,E,T> |
interface |
StatefulStateMachineWithContext<S,E,T,C> |
interface |
StateMachineWithContext<S,E,T,C>
A
SimpleStateMachine with a computational context. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<T> |
StateMachines.getEventsTypesFrom(StateMachine<?,?,T> fsm) |
static <S> Set<S> |
StateMachines.getStatesFrom(StateMachine<S,?,?> fsm) |
static <S,T> void |
StateMachines.toFile(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
File file)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toFile(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
String filePath)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toPath(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
Path filePath)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toStream(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
OutputStream stream)
Serialize a given state machine definition to a stream.
|
static <S,T> String |
StateMachines.toString(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format)
Serialize a given
StateMachine definition to a String. |
static <S,T> StringBuilder |
StateMachines.toString(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
StringBuilder builder)
Serialize a given
StateMachine definition to a
StringBuilder. |
static <S,T> void |
StateMachines.toWriter(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
Writer writer)
Serialize a given state machine definition to a writer.
|
Copyright © 2015. All rights reserved.