com.atlassian.jira.workflow.migration.professional
Class ProfessionalWorkflowMigrationHelper
java.lang.Object
com.atlassian.jira.workflow.migration.AbstractWorkflowMigrationHelper
com.atlassian.jira.workflow.migration.professional.ProfessionalWorkflowMigrationHelper
public class ProfessionalWorkflowMigrationHelper
- extends AbstractWorkflowMigrationHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
existingWorkflow
JiraWorkflow existingWorkflow
targetWorkflow
JiraWorkflow targetWorkflow
authenticationContext
JiraAuthenticationContext authenticationContext
ProfessionalWorkflowMigrationHelper
public ProfessionalWorkflowMigrationHelper(ProjectManager projectManager,
WorkflowManager workflowManager,
org.ofbiz.core.entity.GenericDelegator delegator,
JiraAuthenticationContext authenticationContext,
IssueManager issueManager)
calculateInputRequired
public void calculateInputRequired(String workflowName)
throws org.ofbiz.core.entity.GenericEntityException,
WorkflowException
- Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException
migrate
public WorkflowMigrationResult migrate()
throws org.ofbiz.core.entity.GenericEntityException,
WorkflowException
- Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException
migrateIssue
void migrateIssue(org.ofbiz.core.entity.GenericValue issueGV)
throws Exception
- This will throw an exception if the issue failed to migrate correctly
If this occurs we will drop into the below block and add the issue to the failedIssue map.
- Parameters:
issueGV
-
- Throws:
Exception
addMapping
public void addMapping(org.ofbiz.core.entity.GenericValue oldStatus,
org.ofbiz.core.entity.GenericValue newStatus)
getWorkflowMigrationMapping
public Map getWorkflowMigrationMapping()
getStatusesNeedingMigration
public List getStatusesNeedingMigration()
Copyright © 2002-2007 Atlassian. All Rights Reserved.