Class ReportTaskProgressResult

    • Constructor Detail

      • ReportTaskProgressResult

        public ReportTaskProgressResult()
    • Method Detail

      • setCanceled

        public void setCanceled​(Boolean canceled)

        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

        Parameters:
        canceled - If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
      • getCanceled

        public Boolean getCanceled()

        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

        Returns:
        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
      • withCanceled

        public ReportTaskProgressResult withCanceled​(Boolean canceled)

        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

        Parameters:
        canceled - If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isCanceled

        public Boolean isCanceled()

        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

        Returns:
        If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object