public class DefaultMigrationHelperFactory extends Object implements MigrationHelperFactory
Constructor and Description |
---|
DefaultMigrationHelperFactory(WorkflowManager workflowManager,
OfBizDelegator delegator,
WorkflowSchemeManager schemeManager,
ConstantsManager constantsManager,
JiraAuthenticationContext authCtx,
TaskManager taskManager,
IssueIndexManager issueIndexManager,
WorkflowSchemeManager workflowSchemeManager,
com.atlassian.event.api.EventPublisher eventPublisher,
IssueConstantFactory issueConstantFactory,
QueryDslAccessor queryDslAccessor) |
Modifier and Type | Method and Description |
---|---|
AssignableWorkflowSchemeMigrationHelper |
createMigrationHelper(Project project,
AssignableWorkflowScheme scheme)
Create an instance of a
AssignableWorkflowSchemeMigrationHelper . |
DraftWorkflowSchemeMigrationHelper |
createMigrationHelper(Project triggerProject,
List<Project> projects,
DraftWorkflowScheme draft)
Create an instance of a
DraftWorkflowSchemeMigrationHelper . |
public DefaultMigrationHelperFactory(WorkflowManager workflowManager, OfBizDelegator delegator, WorkflowSchemeManager schemeManager, ConstantsManager constantsManager, JiraAuthenticationContext authCtx, TaskManager taskManager, IssueIndexManager issueIndexManager, WorkflowSchemeManager workflowSchemeManager, com.atlassian.event.api.EventPublisher eventPublisher, IssueConstantFactory issueConstantFactory, QueryDslAccessor queryDslAccessor)
public AssignableWorkflowSchemeMigrationHelper createMigrationHelper(Project project, AssignableWorkflowScheme scheme) throws org.ofbiz.core.entity.GenericEntityException
MigrationHelperFactory
AssignableWorkflowSchemeMigrationHelper
.createMigrationHelper
in interface MigrationHelperFactory
project
- the project to migration. Can't be null.scheme
- the scheme to migrate to. Can't be null.org.ofbiz.core.entity.GenericEntityException
- if DB errors.public DraftWorkflowSchemeMigrationHelper createMigrationHelper(Project triggerProject, List<Project> projects, DraftWorkflowScheme draft) throws org.ofbiz.core.entity.GenericEntityException
MigrationHelperFactory
DraftWorkflowSchemeMigrationHelper
.createMigrationHelper
in interface MigrationHelperFactory
projects
- list of projects to migrate. Can't be null.draft
- the draft scheme to migrate to. Can't be null.org.ofbiz.core.entity.GenericEntityException
- if DB errors.Copyright © 2002-2019 Atlassian. All Rights Reserved.