Modifier and Type | Method and Description |
---|---|
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getActiveForegroundIndexTask() |
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getActiveIndexTask() |
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getIndexTask(long taskId) |
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getLastIndexTask() |
Modifier and Type | Method and Description |
---|---|
void |
TaskDescriptorHelper.waitForTaskCompletion(TaskDescriptor<IndexCommandResult> task) |
Modifier and Type | Method and Description |
---|---|
static UserAnonymizationProgressBean |
UserAnonymizationProgressBean.fromTaskDescriptor(TaskDescriptor<AnonymizationResult> task) |
Modifier and Type | Method and Description |
---|---|
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getActiveIndexTask() |
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getIndexTask(long taskId) |
TaskDescriptor<IndexCommandResult> |
TaskDescriptorHelper.getLastindexTask() |
Modifier and Type | Class and Description |
---|---|
class |
MockTaskDescriptor<V extends Serializable> |
Modifier and Type | Method and Description |
---|---|
TaskDescriptor<?> |
TaskManagerImpl.findFirstTask(TaskMatcher matcher) |
TaskDescriptor<?> |
TaskManager.findFirstTask(TaskMatcher matcher)
Find the first task that "matches" according to the passed matcher.
|
<V extends Serializable> |
TaskManagerImpl.getLiveTask(TaskContext taskContext) |
<V extends Serializable> |
TaskManager.getLiveTask(TaskContext taskContext)
Return the live task associated with the passed context, if one exists.
|
<V extends Serializable> |
ImportTaskManager.getTask()
Returns the
TaskDescriptor of the current import task that's running |
<V extends Serializable> |
ImportTaskManagerImpl.getTask() |
<V extends Serializable> |
TaskManagerImpl.getTask(Long taskId) |
<V extends Serializable> |
TaskManager.getTask(Long taskId)
Returns the
TaskDescriptor of the task that is identified by the passed id. |
TaskDescriptor |
AlreadyExecutingException.getTaskDescriptor() |
<V extends Serializable> |
ImportTaskManager.submitTask(Callable<V> callable,
String taskName)
This submits a
Callable task to the manager which can then be started at the
managers discretion, but hopefully very soon. |
<V extends Serializable> |
ImportTaskManagerImpl.submitTask(Callable<V> callable,
String taskName) |
<V extends Serializable> |
ImportTaskManager.submitTask(Callable<V> callable,
String taskName,
SpanningOperation spanningOperation)
This submits a
Callable task to the manager which can then be started at the
managers discretion, but hopefully very soon. |
<V extends Serializable> |
ImportTaskManagerImpl.submitTask(Callable<V> callable,
String taskName,
SpanningOperation spanningOperation) |
<V extends Serializable> |
TaskManagerImpl.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext) |
<V extends Serializable> |
TaskManager.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext)
This submits a
Callable task to the manager which can then be started at the managers discretion, but hopefully very soon. |
<V extends Serializable> |
TaskManagerImpl.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext,
boolean cancellable) |
<V extends Serializable> |
TaskManager.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext,
boolean cancellable)
This submits a
Callable task to the manager which can then be started at the managers discretion, but hopefully very soon. |
<V extends Serializable> |
TaskManagerImpl.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext,
boolean cancellable,
SpanningOperation spanningOperation) |
<V extends Serializable> |
TaskManager.submitTask(Callable<V> callable,
String taskDescription,
TaskContext taskContext,
boolean cancellable,
SpanningOperation spanningOperation)
This submits a
Callable task to the manager which can then be started at the managers discretion, but hopefully very soon. |
Modifier and Type | Method and Description |
---|---|
Collection<TaskDescriptor<?>> |
TaskManagerImpl.findTasks(TaskMatcher matcher) |
Collection<TaskDescriptor<?>> |
TaskManager.findTasks(TaskMatcher matcher)
Find all the tasks that "match" according to the passed matcher.
|
Collection<TaskDescriptor<?>> |
TaskManagerImpl.getAllTasks() |
Collection<TaskDescriptor<?>> |
TaskManager.getAllTasks()
Return a collection of
TaskDescriptor s currently within the manager. |
Collection<TaskDescriptor<?>> |
TaskManagerImpl.getLiveTasks() |
Collection<TaskDescriptor<?>> |
TaskManager.getLiveTasks()
Return a collection of sumitted or running
TaskDescriptor s in the manager. |
Modifier and Type | Method and Description |
---|---|
boolean |
TaskMatcher.match(TaskDescriptor<?> descriptor)
Tells the caller whether the passed descriptor matches or not.
|
void |
RequiresTaskInformation.setTaskDescriptor(TaskDescriptor<T> taskDescriptor)
Called to give the task its
TaskDescriptor . |
Constructor and Description |
---|
AlreadyExecutingException(TaskDescriptor taskDescriptor,
String message) |
Modifier and Type | Method and Description |
---|---|
TaskDescriptor |
TaskDescriptorBean.getTaskDescriptor() |
Modifier and Type | Method and Description |
---|---|
<V extends Serializable> |
TaskDescriptorBean.Factory.create(TaskDescriptor<V> descriptor) |
Modifier and Type | Method and Description |
---|---|
TaskDescriptor<WorkflowMigrationResult> |
DefaultWorkflowSchemeMigrationTaskAccessor.findSchemeMigrationTask(com.atlassian.jira.workflow.migration.DefaultWorkflowSchemeMigrationTaskAccessor.AbstractSchemeMigrationTaskMatcher taskMatcher) |
TaskDescriptor<WorkflowMigrationResult> |
DefaultWorkflowSchemeMigrationTaskAccessor.getActive(Project project) |
TaskDescriptor<WorkflowMigrationResult> |
WorkflowSchemeMigrationTaskAccessor.getActive(Project project)
Returns the currently active task associated with the given project,
or null if there are now such tasks.
|
TaskDescriptor<WorkflowMigrationResult> |
DefaultWorkflowSchemeMigrationTaskAccessor.getActive(WorkflowScheme scheme) |
TaskDescriptor<WorkflowMigrationResult> |
WorkflowSchemeMigrationTaskAccessor.getActive(WorkflowScheme scheme)
Returns the currently active task that is migrating the passed scheme.
|
TaskDescriptor<WorkflowMigrationResult> |
DefaultWorkflowSchemeMigrationTaskAccessor.getActiveByProjects(DraftWorkflowScheme scheme,
boolean onlyDraftMigrations) |
TaskDescriptor<WorkflowMigrationResult> |
WorkflowSchemeMigrationTaskAccessor.getActiveByProjects(DraftWorkflowScheme scheme,
boolean onlyDraftMigrations)
Returns the currently active task that is migrating any of the projects associated with the passed draft scheme.
|
TaskDescriptor<WorkflowMigrationResult> |
DefaultWorkflowSchemeMigrationTaskAccessor.getActiveByProjects(DraftWorkflowScheme scheme,
boolean onlyDraftMigrations,
boolean onlyNonSafeToDelete) |
TaskDescriptor<WorkflowMigrationResult> |
WorkflowSchemeMigrationTaskAccessor.getActiveByProjects(DraftWorkflowScheme scheme,
boolean onlyDraftMigrations,
boolean onlyNonSafeToDelete)
Returns the currently active task that is migrating any of the projects associated with the passed draft scheme.
|
TaskDescriptor<WorkflowMigrationResult> |
AbstractWorkflowSchemeMigrationHelper.migrateAsync() |
TaskDescriptor<WorkflowMigrationResult> |
WorkflowSchemeMigrationHelper.migrateAsync() |
Copyright © 2002-2019 Atlassian. All Rights Reserved.