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, 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