com.atlassian.jira.workflow.migration
Class DefaultMigrationHelperFactory
java.lang.Object
com.atlassian.jira.workflow.migration.DefaultMigrationHelperFactory
- All Implemented Interfaces:
- MigrationHelperFactory
public class DefaultMigrationHelperFactory
- extends Object
- implements MigrationHelperFactory
- Since:
- v5.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMigrationHelperFactory
public DefaultMigrationHelperFactory(WorkflowManager workflowManager,
OfBizDelegator delegator,
WorkflowSchemeManager schemeManager,
ConstantsManager constantsManager,
JiraAuthenticationContext authCtx,
TaskManager taskManager,
IssueIndexManager issueIndexManager,
WorkflowSchemeManager workflowSchemeManager,
com.atlassian.event.api.EventPublisher eventPublisher)
createMigrationHelper
public AssignableWorkflowSchemeMigrationHelper createMigrationHelper(Project project,
AssignableWorkflowScheme scheme)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
MigrationHelperFactory
- Create an instance of a
AssignableWorkflowSchemeMigrationHelper
.
- Specified by:
createMigrationHelper
in interface MigrationHelperFactory
- Parameters:
project
- the project to migration. Can't be null.scheme
- the scheme to migrate to. Can't be null.
- Returns:
- the created helper.
- Throws:
org.ofbiz.core.entity.GenericEntityException
- if DB errors.
createMigrationHelper
public DraftWorkflowSchemeMigrationHelper createMigrationHelper(Project triggerProject,
List<Project> projects,
DraftWorkflowScheme draft)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
MigrationHelperFactory
- Create an instance of a
DraftWorkflowSchemeMigrationHelper
.
- Specified by:
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.
- Returns:
- the created helper.
- Throws:
org.ofbiz.core.entity.GenericEntityException
- if DB errors.
Copyright © 2002-2013 Atlassian. All Rights Reserved.