public class SearchTask extends CancellableTask
Task.Status
Constructor and Description |
---|
SearchTask(long id,
java.lang.String type,
java.lang.String action,
java.lang.String description,
TaskId parentTaskId) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldCancelChildrenOnCancellation()
Returns true if this task should can potentially have children that needs to be cancelled when the parent is cancelled.
|
cancelOnParentLeaving, getReasonCancelled, isCancelled, onCancelled
getAction, getDescription, getId, getParentTaskId, getStartTime, getStatus, getType, result, result, taskInfo, taskInfo
public SearchTask(long id, java.lang.String type, java.lang.String action, java.lang.String description, TaskId parentTaskId)
public boolean shouldCancelChildrenOnCancellation()
CancellableTask
shouldCancelChildrenOnCancellation
in class CancellableTask