S - StateT - Event Typepublic final class Transition<S,T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Transition.TransitionBuilder<S>
A TransitionBuilder that builds transitions.
|
static class |
Transition.TransitionBuilder2<S,T>
A TransitionBuilder that builds transitions.
|
| Constructor and Description |
|---|
Transition(S fromState,
T eventType,
S toState) |
Transition(S fromState,
T eventType,
S toState,
Guard<?,?> guard) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static <S> Transition.TransitionBuilder<S> |
from(S state) |
T |
getEventType() |
S |
getFromState() |
Guard<?,?> |
getGuard() |
S |
getToState() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"fromState","eventType","toState","guard"}) @Generated(value="lombok") public Transition(@NonNull S fromState, T eventType, @NonNull S toState, Guard<?,?> guard)
public static <S> Transition.TransitionBuilder<S> from(S state)
state - @NonNull @Generated(value="lombok") public S getFromState()
@Generated(value="lombok") public T getEventType()
@NonNull @Generated(value="lombok") public S getToState()
@Generated(value="lombok") public Guard<?,?> getGuard()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2015. All rights reserved.