Class PollForActivityTaskRequest

    • Constructor Detail

      • PollForActivityTaskRequest

        public PollForActivityTaskRequest()
    • Method Detail

      • setDomain

        public void setDomain​(String domain)

        The name of the domain that contains the task lists being polled.

        Parameters:
        domain - The name of the domain that contains the task lists being polled.
      • getDomain

        public String getDomain()

        The name of the domain that contains the task lists being polled.

        Returns:
        The name of the domain that contains the task lists being polled.
      • withDomain

        public PollForActivityTaskRequest withDomain​(String domain)

        The name of the domain that contains the task lists being polled.

        Parameters:
        domain - The name of the domain that contains the task lists being polled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTaskList

        public void setTaskList​(TaskList taskList)

        Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

        Parameters:
        taskList - Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

      • getTaskList

        public TaskList getTaskList()

        Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

        Returns:
        Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

      • withTaskList

        public PollForActivityTaskRequest withTaskList​(TaskList taskList)

        Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

        Parameters:
        taskList - Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - Ÿ). Also, it must not contain the literal string quotarnquot.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentity

        public void setIdentity​(String identity)

        Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

        Parameters:
        identity - Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
      • getIdentity

        public String getIdentity()

        Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

        Returns:
        Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
      • withIdentity

        public PollForActivityTaskRequest withIdentity​(String identity)

        Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

        Parameters:
        identity - Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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