doc: 文档标准化.

This commit is contained in:
2025-05-16 17:16:50 +08:00
parent c0ccf2cb4f
commit f733e1ff5a
14 changed files with 146 additions and 50 deletions

View File

@@ -18,8 +18,10 @@ public final class HandlerInvocationDelegate {
/**
* 触发处理器
*
* @param from 源状态
* @param to 目的状态
* @param context 状态机上下文
* @param from 源状态
* @param to 目的状态
* @param <S> 状态类型
*/
public static <S> void invokeHandlers(StateMachineContext<S> context, S from, S to) {
// 触发离开处理器
@@ -35,6 +37,12 @@ public final class HandlerInvocationDelegate {
/**
* 触发逻辑
*
* @param context 状态机上下文
* @param handlerWrappers 封装后处理器集合
* @param from 源状态
* @param to 目的状态
* @param <S> 状态类型
*/
public static <S> void doInvokeHandlers(StateMachineContext<S> context,
List<StateHandlerWrapper<S>> handlerWrappers, S from, S to) {