Class ActivityTaskStatus

    • Constructor Detail

      • ActivityTaskStatus

        public ActivityTaskStatus()
    • Method Detail

      • setCancelRequested

        public void setCancelRequested​(Boolean cancelRequested)

        Set to true if cancellation of the task is requested.

        Parameters:
        cancelRequested - Set to true if cancellation of the task is requested.
      • getCancelRequested

        public Boolean getCancelRequested()

        Set to true if cancellation of the task is requested.

        Returns:
        Set to true if cancellation of the task is requested.
      • withCancelRequested

        public ActivityTaskStatus withCancelRequested​(Boolean cancelRequested)

        Set to true if cancellation of the task is requested.

        Parameters:
        cancelRequested - Set to true if cancellation of the task is requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isCancelRequested

        public Boolean isCancelRequested()

        Set to true if cancellation of the task is requested.

        Returns:
        Set to true if cancellation of the task is requested.
      • 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