|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.workflow.migration.DefaultWorkflowSchemeMigrationTaskAccessor
public class DefaultWorkflowSchemeMigrationTaskAccessor
| Constructor Summary | |
|---|---|
DefaultWorkflowSchemeMigrationTaskAccessor(TaskManager taskManager,
WorkflowSchemeManager manager)
|
|
| Method Summary | |
|---|---|
TaskDescriptor<WorkflowMigrationResult> |
findSchemeMigrationTask(com.atlassian.jira.workflow.migration.DefaultWorkflowSchemeMigrationTaskAccessor.AbstractSchemeMigrationTaskMatcher taskMatcher)
|
TaskDescriptor<WorkflowMigrationResult> |
getActive(Project project)
Returns the currently active task associated with the given project, or null if there are now such tasks. |
TaskDescriptor<WorkflowMigrationResult> |
getActive(WorkflowScheme scheme)
Returns the currently active task that is migrating the passed scheme. |
TaskDescriptor<WorkflowMigrationResult> |
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> |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWorkflowSchemeMigrationTaskAccessor(TaskManager taskManager,
WorkflowSchemeManager manager)
| Method Detail |
|---|
public TaskDescriptor<WorkflowMigrationResult> getActive(@Nonnull
Project project)
WorkflowSchemeMigrationTaskAccessor
getActive in interface WorkflowSchemeMigrationTaskAccessorproject - project who's tasks will be sought
public TaskDescriptor<WorkflowMigrationResult> getActiveByProjects(@Nonnull
DraftWorkflowScheme scheme,
boolean onlyDraftMigrations)
WorkflowSchemeMigrationTaskAccessor
getActiveByProjects in interface WorkflowSchemeMigrationTaskAccessorscheme - the scheme.onlyDraftMigrations - if true, then only draft migration will be considered.
public TaskDescriptor<WorkflowMigrationResult> getActiveByProjects(@Nonnull
DraftWorkflowScheme scheme,
boolean onlyDraftMigrations,
boolean onlyNonSafeToDelete)
WorkflowSchemeMigrationTaskAccessor
getActiveByProjects in interface WorkflowSchemeMigrationTaskAccessorscheme - the scheme.onlyDraftMigrations - if true, then only draft migration will be considered.onlyNonSafeToDelete - if true, then only migrations which are not marked as safe for deletion will be considered (see com.atlassian.jira.workflow.migration.EnterpriseWorkflowTaskContext#isSafeToDelete).
public TaskDescriptor<WorkflowMigrationResult> getActive(@Nonnull
WorkflowScheme scheme)
WorkflowSchemeMigrationTaskAccessor
getActive in interface WorkflowSchemeMigrationTaskAccessorscheme - the scheme.
public TaskDescriptor<WorkflowMigrationResult> findSchemeMigrationTask(com.atlassian.jira.workflow.migration.DefaultWorkflowSchemeMigrationTaskAccessor.AbstractSchemeMigrationTaskMatcher taskMatcher)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||