| Modifier and Type | Interface and Description |
|---|---|
interface |
EventContext<S extends State,T>
事件上下文
|
class |
EventContextDefault<S extends State,T>
事件上下文默认实现
|
class |
StateMachine<S extends State,E extends Event,T>
状态机
|
class |
StateTransition<S extends State,E extends Event,T>
状态转换器
|
class |
StateTransitionContext<S extends State,E extends Event,T>
状态转换上下文(保存状态转换相关信息)
|
class |
StateTransitionDecl<S extends State,E extends Event,T>
状态转换定义
|
| Modifier and Type | Field and Description |
|---|---|
protected S |
StateTransitionDecl.target
目标状态(即到哪里去)
|
| Modifier and Type | Method and Description |
|---|---|
static <S extends State,T> |
EventContext.of(S state,
T payload) |
| Modifier and Type | Method and Description |
|---|---|
StateTransitionDecl<S,E,T> |
StateTransitionDecl.from(S... source)
来源状态
|
Copyright © 2025. All rights reserved.