@Value.Immutable public abstract class Start<D> extends Object implements Transition<D>, HasLabel
| Modifier and Type | Class and Description |
|---|---|
static class |
Start.WithDestination<T> |
| Constructor and Description |
|---|
Start() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Supplier<State<D>> |
action() |
abstract StateID<D> |
destination() |
static <D> ImmutableStart<D> |
of(StateID<D> dest,
Supplier<State<D>> action) |
State<D> |
result(StateLookup lookup) |
Set<StateID<?>> |
sources() |
static <D> Start.WithDestination<D> |
to(Class<D> destType) |
static <D> Start.WithDestination<D> |
to(StateID<D> dest) |
static <D> Start.WithDestination<D> |
to(de.flapdoodle.reflection.TypeInfo<D> destType) |
String |
transitionLabel() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasLabelpublic abstract StateID<D> destination()
destination in interface Transition<D>@Value.Default public String transitionLabel()
transitionLabel in interface HasLabel@Value.Lazy public Set<StateID<?>> sources()
sources in interface Transition<D>@Value.Auxiliary public State<D> result(StateLookup lookup)
result in interface Transition<D>public static <D> ImmutableStart<D> of(StateID<D> dest, Supplier<State<D>> action)
public static <D> Start.WithDestination<D> to(StateID<D> dest)
public static <D> Start.WithDestination<D> to(Class<D> destType)
public static <D> Start.WithDestination<D> to(de.flapdoodle.reflection.TypeInfo<D> destType)
Copyright © 2023. All rights reserved.