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 can potentially have children that need to be cancelled when it parent is cancelled.
|
cancelOnParentLeaving, getReasonCancelled, isCancelled, onCancelledgetAction, getDescription, getId, getParentTaskId, getStartTime, getStatus, getType, result, result, taskInfo, taskInfopublic SearchTask(long id,
java.lang.String type,
java.lang.String action,
java.lang.String description,
TaskId parentTaskId)
public boolean shouldCancelChildrenOnCancellation()
CancellableTaskshouldCancelChildrenOnCancellation in class CancellableTask