public class ReportTaskProgressResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of ReportTaskProgress.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
canceled
If true, the calling task runner should cancel processing of the task.
|
Constructor and Description |
---|
ReportTaskProgressResult() |
Modifier and Type | Method and Description |
---|---|
ReportTaskProgressResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCanceled()
If true, the calling task runner should cancel processing of the task.
|
int |
hashCode() |
java.lang.Boolean |
isCanceled()
If true, the calling task runner should cancel processing of the task.
|
void |
setCanceled(java.lang.Boolean canceled)
If true, the calling task runner should cancel processing of the task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportTaskProgressResult |
withCanceled(java.lang.Boolean canceled)
If true, the calling task runner should cancel processing of the task.
|
private java.lang.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.
public void setCanceled(java.lang.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.
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.public java.lang.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.
public ReportTaskProgressResult withCanceled(java.lang.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.
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.public java.lang.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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReportTaskProgressResult clone()
clone
in class java.lang.Object