UndoResult
public record UndoResult(String sessionId, boolean restored, int undoDepth, int redoDepth)
源码Source
io/agentscope/spring/boot/admin/service/SessionOperations.java:275承载 Undo 结果数据的记录类型。位于 io.agentscope.spring.boot.admin.service 包。核心成员包括 sessionId、restored、undoDepth、redoDepth。
Outcome of an undo/redo invocation.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
sessionId | String | 执行会话标识相关操作。 Performs the session id operation. |
restored | boolean | 执行 `restored` 方法。 Performs the restored operation. |
undoDepth | int | 执行 `undoDepth` 方法。 Performs the undo depth operation. |
redoDepth | int | 执行 `redoDepth` 方法。 Performs the redo depth operation. |
记录组件详情Record Component Detail
sessionId
String sessionId执行会话标识相关操作。
Performs the session id operation.
源码Source
io/agentscope/spring/boot/admin/service/SessionOperations.java:275restored
boolean restored执行 restored 方法。
Performs the restored operation.
源码Source
io/agentscope/spring/boot/admin/service/SessionOperations.java:275undoDepth
int undoDepth执行 undoDepth 方法。
Performs the undo depth operation.
源码Source
io/agentscope/spring/boot/admin/service/SessionOperations.java:275redoDepth
int redoDepth执行 redoDepth 方法。
Performs the redo depth operation.
源码Source
io/agentscope/spring/boot/admin/service/SessionOperations.java:275