Uses of Enum Class
io.agentscope.harness.agent.subagent.task.TaskStatus
Packages that use TaskStatus
-
Uses of TaskStatus in io.agentscope.harness.agent.subagent.task
Methods in io.agentscope.harness.agent.subagent.task that return TaskStatusModifier and TypeMethodDescriptionTaskRecord.getStatus()BackgroundTask.getTaskStatus()Returns the structuredTaskStatusfor this task, reflecting the underlying future state and any explicit cancellation.TaskDelivery.status()Returns the value of thestatusrecord component.static TaskStatusReturns the enum constant of this class with the specified name.static TaskStatus[]TaskStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.agentscope.harness.agent.subagent.task with parameters of type TaskStatusModifier and TypeMethodDescriptionTaskRepository.listTasks(io.agentscope.core.agent.RuntimeContext rc, String sessionId, TaskStatus filter) List all tracked tasks for the given session, optionally filtered by status.WorkspaceTaskRepository.listTasks(io.agentscope.core.agent.RuntimeContext rc, String sessionId, TaskStatus filter) voidTaskRecord.setStatus(TaskStatus status) Constructors in io.agentscope.harness.agent.subagent.task with parameters of type TaskStatusModifierConstructorDescriptionTaskDelivery(String taskId, String agentId, TaskStatus status, String result, String errorMessage, Instant completedAt) Creates an instance of aTaskDeliveryrecord class.