枚举类的使用
io.agentscope.core.plan.model.SubTaskState
使用SubTaskState的程序包
-
io.agentscope.core.plan.model中SubTaskState的使用
修饰符和类型方法说明SubTask.getState()Gets the current state of this subtask.static SubTaskState返回带有指定名称的该类的枚举常量。static SubTaskState[]SubTaskState.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明voidSubTask.finish(SubTaskState state, String outcome) Mark the subtask as finished with a specific state and outcome.voidSubTask.setState(SubTaskState state) Sets the state of this subtask.