Status
public enum Status
源码Source
io/agentscope/core/agent/AgentRun.java:40–52定义状态的枚举。位于 io.agentscope.core.agent 包。核心成员包括 isTerminal、CREATED、QUEUED、RUNNING、COMPLETED、FAILED。
Execution state. QUEUED includes setup before admission to the core lifecycle.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
CREATED | 创建D。 Creates the d. |
QUEUED | 执行已排队相关操作。 Performs the QUEUED operation. |
RUNNING | 运行NING。 Runs the NING. |
COMPLETED | 执行已完成相关操作。 Performs the COMPLETED operation. |
FAILED | 执行失败相关操作。 Performs the FAILED operation. |
CANCELLED | 判断是否可以CELLED。 Returns whether the CELLED. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public boolean isTerminal() | 判断是否 `isTerminal`。 Whether no further execution can start through this handle. |
枚举常量详情Enum Constant Detail
CREATED
CREATED
staticfinal
创建D。
Creates the d.
源码Source
io/agentscope/core/agent/AgentRun.java:41QUEUED
QUEUED
staticfinal
执行已排队相关操作。
Performs the QUEUED operation.
源码Source
io/agentscope/core/agent/AgentRun.java:42RUNNING
RUNNING
staticfinal
运行NING。
Runs the NING.
源码Source
io/agentscope/core/agent/AgentRun.java:43COMPLETED
COMPLETED
staticfinal
执行已完成相关操作。
Performs the COMPLETED operation.
源码Source
io/agentscope/core/agent/AgentRun.java:44FAILED
FAILED
staticfinal
执行失败相关操作。
Performs the FAILED operation.
源码Source
io/agentscope/core/agent/AgentRun.java:45CANCELLED
CANCELLED
staticfinal
判断是否可以CELLED。
Returns whether the CELLED.
源码Source
io/agentscope/core/agent/AgentRun.java:46方法详情Method Detail
isTerminal
public boolean isTerminal()
判断是否 isTerminal。
Whether no further execution can start through this handle.
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/core/agent/AgentRun.java:49–51