S
- a states typeE
- an events typefinal class Transition<S extends java.lang.Enum<S>,E extends java.lang.Enum<E>>
extends java.lang.Object
A descriptor of the transition in the transition table.
Modifier and Type | Field and Description |
---|---|
private java.util.function.Consumer<FSM<S,E>> |
action |
private E |
event |
private S |
initial |
private io.vavr.collection.Set<S> |
targets |
Constructor and Description |
---|
Transition(S initial,
E event,
io.vavr.collection.Set<S> targets,
@Nullable java.util.function.Consumer<FSM<S,E>> action) |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.function.Consumer<FSM<S,E>> |
action() |
(package private) E |
event() |
(package private) S |
initial() |
(package private) io.vavr.collection.Set<S> |
targets() |
java.lang.String |
toString() |