public class ActivityTaskStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Status information about an activity task.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cancelRequested
Set to
true if cancellation of the task is requested. |
Constructor and Description |
---|
ActivityTaskStatus() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCancelRequested()
Set to
true if cancellation of the task is requested. |
int |
hashCode() |
java.lang.Boolean |
isCancelRequested()
Set to
true if cancellation of the task is requested. |
void |
setCancelRequested(java.lang.Boolean cancelRequested)
Set to
true if cancellation of the task is requested. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskStatus |
withCancelRequested(java.lang.Boolean cancelRequested)
Set to
true if cancellation of the task is requested. |
private java.lang.Boolean cancelRequested
Set to true
if cancellation of the task is requested.
public void setCancelRequested(java.lang.Boolean cancelRequested)
Set to true
if cancellation of the task is requested.
cancelRequested
- Set to true
if cancellation of the task is requested.public java.lang.Boolean getCancelRequested()
Set to true
if cancellation of the task is requested.
true
if cancellation of the task is
requested.public ActivityTaskStatus withCancelRequested(java.lang.Boolean cancelRequested)
Set to true
if cancellation of the task is requested.
cancelRequested
- Set to true
if cancellation of the task is requested.public java.lang.Boolean isCancelRequested()
Set to true
if cancellation of the task is requested.
true
if cancellation of the task is
requested.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 ActivityTaskStatus clone()
clone
in class java.lang.Object