| Package | Description |
|---|---|
| org.jeasy.states.core |
This package contains the core implementation of finite state machine.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Event> |
TransitionBuilder.eventHandler(EventHandler<E> eventHandler)
Set the event handler of the transition.
|
TransitionBuilder |
TransitionBuilder.eventType(Class<? extends Event> eventType)
Set event type upon which the transition should be triggered.
|
TransitionBuilder |
TransitionBuilder.name(String name)
Set the name of the transition.
|
TransitionBuilder |
TransitionBuilder.sourceState(State sourceState)
Set the source state of the transition.
|
TransitionBuilder |
TransitionBuilder.targetState(State targetState)
Set the target state of the transition.
|
Copyright © 2020. All rights reserved.