Uses of Enum Class
org.a2aproject.sdk.spec.TaskState
Packages that use TaskState
Package
Description
JSON processing exceptions for the A2A Java SDK.
-
Uses of TaskState in org.a2aproject.sdk.compat03.conversion.mappers.domain
Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain that return TaskStateModifier and TypeMethodDescriptiondefault TaskStateTaskStateMapper_v0_3.toV10(TaskState_v0_3 v03) Converts a v0.3TaskStateto v1.0TaskState.Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain with parameters of type TaskStateModifier and TypeMethodDescriptiondefault TaskState_v0_3Converts a v1.0TaskStateto v0.3TaskState. -
Uses of TaskState in org.a2aproject.sdk.grpc.mapper
Methods in org.a2aproject.sdk.grpc.mapper that return TaskStateModifier and TypeMethodDescriptiondefault TaskStateConverts proto TaskState to domain TaskState.default TaskStateA2ACommonFieldMapper.taskStateOrNull(TaskState state) Converts protobuf TaskState to domain TaskState, treating UNSPECIFIED as null.Methods in org.a2aproject.sdk.grpc.mapper with parameters of type TaskState -
Uses of TaskState in org.a2aproject.sdk.grpc.utils
Methods in org.a2aproject.sdk.grpc.utils with parameters of type TaskState -
Uses of TaskState in org.a2aproject.sdk.server.tasks
Methods in org.a2aproject.sdk.server.tasks with parameters of type TaskStateModifier and TypeMethodDescriptionvoidAgentEmitter.updateStatus(TaskState taskState, @Nullable Message message) Updates the task status to the given state with an optional message. -
Uses of TaskState in org.a2aproject.sdk.spec
Methods in org.a2aproject.sdk.spec that return TaskStateModifier and TypeMethodDescriptionTaskStatus.state()Returns the value of thestaterecord component.@Nullable TaskStateListTasksParams.status()Returns the value of thestatusrecord component.static TaskStateReturns the enum constant of this class with the specified name.static TaskState[]TaskState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.a2aproject.sdk.spec with parameters of type TaskStateModifier and TypeMethodDescriptionSets the status.Constructors in org.a2aproject.sdk.spec with parameters of type TaskStateModifierConstructorDescriptionListTasksParams(@Nullable String contextId, @Nullable TaskState status, @Nullable Integer pageSize, @Nullable String pageToken, @Nullable Integer historyLength, @Nullable Instant statusTimestampAfter, @Nullable Boolean includeArtifacts, @Nullable String tenant) Compact constructor for validation.TaskStatus(TaskState state) Creates a TaskStatus with only a state, using the current UTC time as the timestamp.TaskStatus(TaskState state, @Nullable Message message, @Nullable OffsetDateTime timestamp) Compact constructor for validation and timestamp initialization.