| Constructor and Description |
|---|
StateTransition(StateTransitionDecl<S,E,T> decl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(StateTransitionContext<S,E,T> context)
执行
|
protected S |
getTo() |
protected boolean |
matches(E event,
EventContext<S,T> eventContext)
匹配
|
public StateTransition(StateTransitionDecl<S,E,T> decl)
protected S getTo()
protected boolean matches(E event, EventContext<S,T> eventContext)
event - 事件eventContext - 事件上下文protected void execute(StateTransitionContext<S,E,T> context)
context - 状态机上下文Copyright © 2025. All rights reserved.