com.atlassian.jira.web.action.admin.workflow.professional
Class ProWorkflowMigrationManager

java.lang.Object
  extended bycom.atlassian.jira.web.action.admin.workflow.professional.ProWorkflowMigrationManager

public class ProWorkflowMigrationManager
extends java.lang.Object


Field Summary
(package private)  JiraWorkflow existingWorkflow
           
(package private)  JiraWorkflow targetWorkflow
           
 
Constructor Summary
ProWorkflowMigrationManager(ProjectManager projectManager, WorkflowManager workflowManager, IssueManager issueManager, ConstantsManager constantsManager, WorkflowSchemeManager workflowSchemeManager)
           
 
Method Summary
 void addMapping(org.ofbiz.core.entity.GenericValue oldStatus, org.ofbiz.core.entity.GenericValue newStatus)
           
 void calculateInputRequired(java.lang.String workflowName)
           
 java.util.List getStatusesNeedingMigration()
           
 java.util.Map getWorkflowMigrationMapping()
           
 ErrorCollection migrate(org.ofbiz.core.entity.GenericValue projectGV)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

existingWorkflow

JiraWorkflow existingWorkflow

targetWorkflow

JiraWorkflow targetWorkflow
Constructor Detail

ProWorkflowMigrationManager

public ProWorkflowMigrationManager(ProjectManager projectManager,
                                   WorkflowManager workflowManager,
                                   IssueManager issueManager,
                                   ConstantsManager constantsManager,
                                   WorkflowSchemeManager workflowSchemeManager)
Method Detail

calculateInputRequired

public void calculateInputRequired(java.lang.String workflowName)
                            throws org.ofbiz.core.entity.GenericEntityException,
                                   WorkflowException
Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException

migrate

public ErrorCollection migrate(org.ofbiz.core.entity.GenericValue projectGV)
                        throws org.ofbiz.core.entity.GenericEntityException,
                               WorkflowException
Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException

addMapping

public void addMapping(org.ofbiz.core.entity.GenericValue oldStatus,
                       org.ofbiz.core.entity.GenericValue newStatus)

getWorkflowMigrationMapping

public java.util.Map getWorkflowMigrationMapping()

getStatusesNeedingMigration

public java.util.List getStatusesNeedingMigration()


Copyright © 2002-2005 Atlassian. All Rights Reserved.