public class ReportTaskProgressResult extends Object implements Serializable, Cloneable
Contains the output of ReportTaskProgress.
Constructor and Description |
---|
ReportTaskProgressResult() |
Modifier and Type | Method and Description |
---|---|
ReportTaskProgressResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCanceled()
If true, the calling task runner should cancel processing of the task.
|
int |
hashCode() |
Boolean |
isCanceled()
If true, the calling task runner should cancel processing of the task.
|
void |
setCanceled(Boolean canceled)
If true, the calling task runner should cancel processing of the task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportTaskProgressResult |
withCanceled(Boolean canceled)
If true, the calling task runner should cancel processing of the task.
|
public Boolean isCanceled()
public void setCanceled(Boolean canceled)
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 ReportTaskProgressResult withCanceled(Boolean canceled)
Returns a reference to this object so that method calls can be chained together.
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 Boolean getCanceled()
public String toString()
toString
in class Object
Object.toString()
public ReportTaskProgressResult clone()
Copyright © 2015. All rights reserved.