public class PollForTaskResult extends Object implements Serializable, Cloneable
Contains the output of PollForTask.
| Constructor and Description | 
|---|
| PollForTaskResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| PollForTaskResult | clone() | 
| boolean | equals(Object obj) | 
| TaskObject | getTaskObject()The information needed to complete the task that is being assigned to
 the task runner. | 
| int | hashCode() | 
| void | setTaskObject(TaskObject taskObject)The information needed to complete the task that is being assigned to
 the task runner. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| PollForTaskResult | withTaskObject(TaskObject taskObject)The information needed to complete the task that is being assigned to
 the task runner. | 
public TaskObject getTaskObject()
taskId, which contains an identifier for the task being
 assigned. The calling task runner uses taskId in
 subsequent calls to ReportTaskProgress and
 SetTaskStatus.taskId, which contains an identifier for the task being
         assigned. The calling task runner uses taskId in
         subsequent calls to ReportTaskProgress and
         SetTaskStatus.public void setTaskObject(TaskObject taskObject)
taskId, which contains an identifier for the task being
 assigned. The calling task runner uses taskId in
 subsequent calls to ReportTaskProgress and
 SetTaskStatus.taskObject - 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 uses taskId in
         subsequent calls to ReportTaskProgress and
         SetTaskStatus.public PollForTaskResult withTaskObject(TaskObject taskObject)
taskId, which contains an identifier for the task being
 assigned. The calling task runner uses taskId in
 subsequent calls to ReportTaskProgress and
 SetTaskStatus.
 Returns a reference to this object so that method calls can be chained together.
taskObject - 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 uses taskId in
         subsequent calls to ReportTaskProgress and
         SetTaskStatus.public String toString()
toString in class ObjectObject.toString()public PollForTaskResult clone()
Copyright © 2015. All rights reserved.