public class TaskDescriptorHelper extends Object
| Constructor and Description |
|---|
TaskDescriptorHelper(TaskManager taskManager) |
| Modifier and Type | Method and Description |
|---|---|
TaskDescriptor<IndexCommandResult> |
getActiveForegroundIndexTask() |
TaskDescriptor<IndexCommandResult> |
getActiveIndexTask() |
void |
waitForTaskCompletion(TaskDescriptor<IndexCommandResult> task) |
public TaskDescriptorHelper(TaskManager taskManager)
@Nullable public TaskDescriptor<IndexCommandResult> getActiveIndexTask()
@Nullable public TaskDescriptor<IndexCommandResult> getActiveForegroundIndexTask()
public void waitForTaskCompletion(@Nonnull TaskDescriptor<IndexCommandResult> task) throws InterruptedException, ExecutionException
Copyright © 2002-2022 Atlassian. All Rights Reserved.