public interface

MigrationHelperFactory

com.atlassian.jira.workflow.migration.MigrationHelperFactory
Known Indirect Subclasses

Class Overview

Provides a way to create instances of WorkflowSchemeMigrationHelper.

Public Methods

public AssignableWorkflowSchemeMigrationHelper createMigrationHelper (Project project, AssignableWorkflowScheme scheme)

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
GenericEntityException if DB errors.

public DraftWorkflowSchemeMigrationHelper createMigrationHelper (Project triggerProject, List<Project> projects, DraftWorkflowScheme draft)

Create an instance of a DraftWorkflowSchemeMigrationHelper.

Parameters
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
GenericEntityException if DB errors.