Class PollForActivityTaskResponse

    • Method Detail

      • taskToken

        public final String taskToken()

        The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

        Returns:
        The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.
      • activityId

        public final String activityId()

        The unique ID of the task.

        Returns:
        The unique ID of the task.
      • startedEventId

        public final Long startedEventId()

        The ID of the ActivityTaskStarted event recorded in the history.

        Returns:
        The ID of the ActivityTaskStarted event recorded in the history.
      • workflowExecution

        public final WorkflowExecution workflowExecution()

        The workflow execution that started this activity task.

        Returns:
        The workflow execution that started this activity task.
      • activityType

        public final ActivityType activityType()

        The type of this activity task.

        Returns:
        The type of this activity task.
      • input

        public final String input()

        The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.

        Returns:
        The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object