Package io.a2a.spec
Class TaskArtifactUpdateEvent
java.lang.Object
io.a2a.spec.TaskArtifactUpdateEvent
- All Implemented Interfaces:
Event,EventKind,StreamingEventKind,UpdateEvent
public final class TaskArtifactUpdateEvent
extends Object
implements EventKind, StreamingEventKind, UpdateEvent
An event sent by the agent to notify the client that an artifact has been
generated or updated. This is typically used in streaming models.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTaskArtifactUpdateEvent(String taskId, Artifact artifact, String contextId, Boolean append, Boolean lastChunk, Map<String, Object> metadata) TaskArtifactUpdateEvent(String taskId, Artifact artifact, String contextId, Boolean append, Boolean lastChunk, Map<String, Object> metadata, String kind) -
Method Summary
-
Field Details
-
ARTIFACT_UPDATE
- See Also:
-
-
Constructor Details
-
TaskArtifactUpdateEvent
-
TaskArtifactUpdateEvent
-
-
Method Details
-
getTaskId
-
getArtifact
-
getContextId
-
isAppend
-
isLastChunk
-
getMetadata
-
getKind
- Specified by:
getKindin interfaceEventKind- Specified by:
getKindin interfaceStreamingEventKind
-