public class EventContextDefault<S extends State,T> extends Object implements EventContext<S,T>
| Modifier | Constructor and Description |
|---|---|
protected |
EventContextDefault(S currentState,
T payload) |
| Modifier and Type | Method and Description |
|---|---|
S |
getCurrentState()
获取当前状态
|
T |
getPayload()
获取装载
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic S getCurrentState()
getCurrentState in interface EventContext<S extends State,T>public T getPayload()
getPayload in interface EventContext<S extends State,T>Copyright © 2025. All rights reserved.