Package org.a2aproject.sdk.grpc.mapper
Interface TaskStatusMapper
- All Known Implementing Classes:
TaskStatusMapperImpl
public interface TaskStatusMapper
Mapper between
TaskStatus and TaskStatus.
Handles conversion of task status including state, optional message, and timestamp. Uses TaskStateMapper for state conversion, MessageMapper for message conversion, and CommonFieldMapper for timestamp conversion.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfromProto(TaskStatus proto) Converts proto TaskStatus to domain TaskStatus.toProto(TaskStatus domain) Converts domain TaskStatus to proto TaskStatus.
-
Field Details
-
INSTANCE
-
-
Method Details
-
toProto
Converts domain TaskStatus to proto TaskStatus. Uses MessageMapper for message and CommonFieldMapper for timestamp conversion. -
fromProto
Converts proto TaskStatus to domain TaskStatus. Uses MessageMapper for message and CommonFieldMapper for timestamp conversion.
-