Enum Class的使用
io.agentscope.core.plan.model.SubTaskState
使用SubTaskState的程序包
-
io.agentscope.core.plan.model中SubTaskState的使用
修饰符和类型方法说明SubTask.getState()Gets the current state of this subtask.static SubTaskStateReturns the enum constant of this class with the specified name.static SubTaskState[]SubTaskState.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明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.