public class ActivityTaskStatus extends Object implements Serializable
Status information about an activity task.
Constructor and Description |
---|
ActivityTaskStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getCancelRequested()
Set to
true if cancellation of the task is requested. |
int |
hashCode() |
Boolean |
isCancelRequested()
Set to
true if cancellation of the task is requested. |
void |
setCancelRequested(Boolean cancelRequested)
Set to
true if cancellation of the task is requested. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskStatus |
withCancelRequested(Boolean cancelRequested)
Set to
true if cancellation of the task is requested. |
public Boolean isCancelRequested()
true
if cancellation of the task is requested.true
if cancellation of the task is requested.public void setCancelRequested(Boolean cancelRequested)
true
if cancellation of the task is requested.cancelRequested
- Set to true
if cancellation of the task is requested.public ActivityTaskStatus withCancelRequested(Boolean cancelRequested)
true
if cancellation of the task is requested.
Returns a reference to this object so that method calls can be chained together.
cancelRequested
- Set to true
if cancellation of the task is requested.public Boolean getCancelRequested()
true
if cancellation of the task is requested.true
if cancellation of the task is requested.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.