Uses of Record Class
org.a2aproject.sdk.spec.Task
Packages that use Task
Package
Description
Common OpenTelemetry utilities and shared components for A2A Java SDK.
JSON-RPC 2.0 protocol message wrappers for the A2A Protocol.
JSON processing exceptions for the A2A Java SDK.
General-purpose utilities for the A2A SDK.
-
Uses of Task in org.a2aproject.sdk.client
Methods in org.a2aproject.sdk.client that return TaskModifier and TypeMethodDescriptionAbstractClient.cancelTask(CancelTaskParams request) Request the agent to cancel a specific task.abstract TaskAbstractClient.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request the agent to cancel a specific task.Client.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request cancellation of a task.AbstractClient.getTask(TaskQueryParams request) Retrieve the current state and history of a specific task.abstract TaskAbstractClient.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve the current state and history of a specific task.Client.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve a specific task by ID.TaskEvent.getTask()Get the task contained in this event.TaskUpdateEvent.getTask()Get the current complete task state.Constructors in org.a2aproject.sdk.client with parameters of type TaskModifierConstructorDescriptionCreate a task event.TaskUpdateEvent(Task task, UpdateEvent updateEvent) Create a task update event. -
Uses of Task in org.a2aproject.sdk.client.transport.grpc
Methods in org.a2aproject.sdk.client.transport.grpc that return TaskModifier and TypeMethodDescriptionGrpcTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) GrpcTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) -
Uses of Task in org.a2aproject.sdk.client.transport.jsonrpc
Methods in org.a2aproject.sdk.client.transport.jsonrpc that return TaskModifier and TypeMethodDescriptionJSONRPCTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) JSONRPCTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) -
Uses of Task in org.a2aproject.sdk.client.transport.rest
Methods in org.a2aproject.sdk.client.transport.rest that return TaskModifier and TypeMethodDescriptionRestTransport.cancelTask(CancelTaskParams taskIdParams, @Nullable ClientCallContext context) RestTransport.getTask(TaskQueryParams taskQueryParams, @Nullable ClientCallContext context) -
Uses of Task in org.a2aproject.sdk.client.transport.spi
Methods in org.a2aproject.sdk.client.transport.spi that return TaskModifier and TypeMethodDescriptionClientTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request the agent to cancel a specific task.ClientTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve the current state and history of a specific task. -
Uses of Task in org.a2aproject.sdk.compat03.conversion
Methods in org.a2aproject.sdk.compat03.conversion with parameters of type TaskModifier and TypeMethodDescription@Nullable StringPushNotificationPayloadFormatter_v0_3.formatPayload(StreamingEventKind event, @Nullable Task taskSnapshot) -
Uses of Task in org.a2aproject.sdk.compat03.conversion.mappers.domain
Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain that return TaskMethods in org.a2aproject.sdk.compat03.conversion.mappers.domain with parameters of type Task -
Uses of Task in org.a2aproject.sdk.extras.opentelemetry
Methods in org.a2aproject.sdk.extras.opentelemetry that return TaskModifier and TypeMethodDescriptionOpenTelemetryRequestHandlerDecorator.onCancelTask(CancelTaskParams params, ServerCallContext context) OpenTelemetryRequestHandlerDecorator.onGetTask(TaskQueryParams params, ServerCallContext context) -
Uses of Task in org.a2aproject.sdk.extras.opentelemetry.client
Methods in org.a2aproject.sdk.extras.opentelemetry.client that return TaskModifier and TypeMethodDescriptionOpenTelemetryClientTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) -
Uses of Task in org.a2aproject.sdk.extras.opentelemetry.client.propagation
Methods in org.a2aproject.sdk.extras.opentelemetry.client.propagation that return TaskModifier and TypeMethodDescriptionOpenTelemetryClientPropagatorTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) -
Uses of Task in org.a2aproject.sdk.extras.opentelemetry.it
Methods in org.a2aproject.sdk.extras.opentelemetry.it that return TaskMethods in org.a2aproject.sdk.extras.opentelemetry.it with parameters of type Task -
Uses of Task in org.a2aproject.sdk.extras.taskstore.database.jpa
Methods in org.a2aproject.sdk.extras.taskstore.database.jpa that return TaskMethods in org.a2aproject.sdk.extras.taskstore.database.jpa with parameters of type Task -
Uses of Task in org.a2aproject.sdk.grpc.mapper
Methods in org.a2aproject.sdk.grpc.mapper that return TaskModifier and TypeMethodDescriptionConverts proto Task to domain Task.Methods in org.a2aproject.sdk.grpc.mapper that return types with arguments of type TaskMethods in org.a2aproject.sdk.grpc.mapper with parameters of type Task -
Uses of Task in org.a2aproject.sdk.grpc.utils
Methods in org.a2aproject.sdk.grpc.utils that return TaskMethods in org.a2aproject.sdk.grpc.utils with parameters of type Task -
Uses of Task in org.a2aproject.sdk.jsonrpc.common.wrappers
Methods in org.a2aproject.sdk.jsonrpc.common.wrappers that return types with arguments of type TaskModifier and TypeMethodDescriptionListTasksResult.tasks()Returns the value of thetasksrecord component.Method parameters in org.a2aproject.sdk.jsonrpc.common.wrappers with type arguments of type TaskModifier and TypeMethodDescriptionSets the tasks list.Constructors in org.a2aproject.sdk.jsonrpc.common.wrappers with parameters of type TaskModifierConstructorDescriptionCancelTaskResponse(Object id, Task result) Constructs a CancelTaskResponse with a successful result.CancelTaskResponse(String jsonrpc, Object id, Task result, A2AError error) Constructs a CancelTaskResponse with full parameters.GetTaskResponse(Object id, Task result) Constructs successful response.GetTaskResponse(String jsonrpc, Object id, Task result, A2AError error) Constructs response with full parameters.Constructor parameters in org.a2aproject.sdk.jsonrpc.common.wrappers with type arguments of type TaskModifierConstructorDescriptionListTasksResult(List<Task> tasks) Constructor for results without pagination.ListTasksResult(List<Task> tasks, int totalSize, int pageSize, @Nullable String nextPageToken) Compact constructor for validation. -
Uses of Task in org.a2aproject.sdk.server.agentexecution
Methods in org.a2aproject.sdk.server.agentexecution that return TaskModifier and TypeMethodDescription@Nullable TaskRequestContext.Builder.getTask()@Nullable TaskRequestContext.getTask()Returns the existing task state, if this is a continuation of a conversation.Methods in org.a2aproject.sdk.server.agentexecution that return types with arguments of type TaskModifier and TypeMethodDescriptionRequestContext.getRelatedTasks()Returns other tasks in the same conversation context.Methods in org.a2aproject.sdk.server.agentexecution with parameters of type TaskModifier and TypeMethodDescriptionvoidRequestContext.attachRelatedTask(Task task) Attaches a related task to this context.Method parameters in org.a2aproject.sdk.server.agentexecution with type arguments of type TaskModifier and TypeMethodDescriptionRequestContext.Builder.setRelatedTasks(@Nullable List<Task> relatedTasks) -
Uses of Task in org.a2aproject.sdk.server.requesthandlers
Methods in org.a2aproject.sdk.server.requesthandlers that return TaskModifier and TypeMethodDescriptionAuthorizationRequestHandlerDecorator.onCancelTask(CancelTaskParams params, ServerCallContext context) DefaultRequestHandler.onCancelTask(CancelTaskParams params, ServerCallContext context) RequestHandler.onCancelTask(CancelTaskParams params, ServerCallContext context) AuthorizationRequestHandlerDecorator.onGetTask(TaskQueryParams params, ServerCallContext context) DefaultRequestHandler.onGetTask(TaskQueryParams params, ServerCallContext context) RequestHandler.onGetTask(TaskQueryParams params, ServerCallContext context) -
Uses of Task in org.a2aproject.sdk.server.tasks
Methods in org.a2aproject.sdk.server.tasks that return TaskModifier and TypeMethodDescription@Nullable Task@Nullable TaskRetrieves a task by its ID.@Nullable TaskTaskManager.getTask()TaskManager.updateWithMessage(Message message, Task task) Methods in org.a2aproject.sdk.server.tasks with parameters of type TaskModifier and TypeMethodDescriptionvoidAdds a custom Task object to be sent to the client.@Nullable StringPushNotificationPayloadFormatter.formatPayload(StreamingEventKind event, @Nullable Task taskSnapshot) voidvoidSaves or updates a task.voidBasePushNotificationSender.sendNotification(StreamingEventKind event, @Nullable Task taskSnapshot) voidPushNotificationSender.sendNotification(StreamingEventKind event, @Nullable Task taskSnapshot) Sends a push notification containing a streaming event.TaskManager.updateWithMessage(Message message, Task task) Method parameters in org.a2aproject.sdk.server.tasks with type arguments of type TaskModifier and TypeMethodDescriptionbooleanTaskManager.process(Event event, boolean isReplicated, @Nullable AtomicReference<Task> taskSnapshot) -
Uses of Task in org.a2aproject.sdk.spec
Methods in org.a2aproject.sdk.spec that return TaskModifier and TypeMethodDescriptionTask.Builder.build()Builds an immutableTaskfrom the current builder state.Methods in org.a2aproject.sdk.spec with parameters of type TaskModifier and TypeMethodDescriptionstatic Task.BuilderCreates a new Builder initialized with values from an existing Task. -
Uses of Task in org.a2aproject.sdk.util
Methods in org.a2aproject.sdk.util that return TaskModifier and TypeMethodDescriptionstatic TaskUtils.appendArtifactToTask(Task task, TaskArtifactUpdateEvent event, String taskId) Appends or updates an artifact in a task based on aTaskArtifactUpdateEvent.Methods in org.a2aproject.sdk.util with parameters of type TaskModifier and TypeMethodDescriptionstatic TaskUtils.appendArtifactToTask(Task task, TaskArtifactUpdateEvent event, String taskId) Appends or updates an artifact in a task based on aTaskArtifactUpdateEvent.