Class PollForTaskResult
- All Implemented Interfaces:
Serializable, Cloneable
Contains the output of PollForTask.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe information needed to complete the task that is being assigned to the task runner.inthashCode()voidsetTaskObject(TaskObject taskObject) The information needed to complete the task that is being assigned to the task runner.toString()Returns a string representation of this object; useful for testing and debugging.withTaskObject(TaskObject taskObject) The information needed to complete the task that is being assigned to the task runner.
-
Constructor Details
-
PollForTaskResult
public PollForTaskResult()
-
-
Method Details
-
setTaskObject
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is
taskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Parameters:
taskObject- The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object istaskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.
-
getTaskObject
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is
taskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Returns:
- The information needed to complete the task that is being
assigned to the task runner. One of the fields returned in this
object is
taskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.
-
withTaskObject
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is
taskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Parameters:
taskObject- The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object istaskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-