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
    Modifier and Type
    Field
    Description
    static final TaskStatusMapper
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.a2aproject.sdk.spec.TaskStatus
    Converts proto TaskStatus to domain TaskStatus.
    toProto(org.a2aproject.sdk.spec.TaskStatus domain)
    Converts domain TaskStatus to proto TaskStatus.
  • Field Details

  • Method Details

    • toProto

      TaskStatus toProto(org.a2aproject.sdk.spec.TaskStatus domain)
      Converts domain TaskStatus to proto TaskStatus. Uses MessageMapper for message and CommonFieldMapper for timestamp conversion.
    • fromProto

      org.a2aproject.sdk.spec.TaskStatus fromProto(TaskStatus proto)
      Converts proto TaskStatus to domain TaskStatus. Uses MessageMapper for message and CommonFieldMapper for timestamp conversion.