com.atlassian.jira.workflow.migration
Interface WorkflowSchemeMigrationHelper<T extends WorkflowScheme>

All Known Subinterfaces:
DraftWorkflowSchemeMigrationHelper
All Known Implementing Classes:
AbstractWorkflowSchemeMigrationHelper, AbstractWorkflowSchemeSingleProjectMigrationHelper, AssignableWorkflowSchemeMigrationHelper, DraftWorkflowSchemeMultipleProjectsMigrationHelper, DraftWorkflowSchemeSingleProjectMigrationHelper

public interface WorkflowSchemeMigrationHelper<T extends WorkflowScheme>

Since:
v5.2

Method Summary
 void addMapping(org.ofbiz.core.entity.GenericValue issueType, org.ofbiz.core.entity.GenericValue oldStatus, org.ofbiz.core.entity.GenericValue newStatus)
           
 boolean doQuickMigrate()
           
 org.apache.log4j.Logger getLogger()
           
 Collection<org.ofbiz.core.entity.GenericValue> getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)
           
 List<org.ofbiz.core.entity.GenericValue> getTypesNeedingMigration()
           
 boolean isHaveIssuesToMigrate()
           
 WorkflowMigrationResult migrate(TaskProgressSink sink)
           
 TaskDescriptor<WorkflowMigrationResult> migrateAsync()
           
 

Method Detail

getTypesNeedingMigration

List<org.ofbiz.core.entity.GenericValue> getTypesNeedingMigration()

getStatusesNeedingMigration

Collection<org.ofbiz.core.entity.GenericValue> getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)

addMapping

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

isHaveIssuesToMigrate

boolean isHaveIssuesToMigrate()
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

doQuickMigrate

boolean doQuickMigrate()
                       throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

migrateAsync

TaskDescriptor<WorkflowMigrationResult> migrateAsync()
                                                     throws RejectedExecutionException
Throws:
RejectedExecutionException

getLogger

org.apache.log4j.Logger getLogger()

migrate

WorkflowMigrationResult migrate(TaskProgressSink sink)
                                throws org.ofbiz.core.entity.GenericEntityException,
                                       WorkflowException
Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException


Copyright © 2002-2013 Atlassian. All Rights Reserved.