com.atlassian.jira.workflow.migration
Class WorkflowMigrationMapping
java.lang.Object
com.atlassian.jira.workflow.migration.WorkflowMigrationMapping
public class WorkflowMigrationMapping
- extends Object
The class is used during workflow migration for a project. It holds mappings between statuses on old workflow and
new workflow. As workflows are configurable per issue type of Enterprise Edition of JIRA, the status mappings are
held on per issue type basis.
This class also holds ids of issues that start the migration on the wrong workflow. For example, if a previous
workflow migration failed, some issues have already been migrated. We need to keep track of these issues to ensure
that they get migrated again.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowMigrationMapping
public WorkflowMigrationMapping()
addMapping
public void addMapping(org.ofbiz.core.entity.GenericValue issueType,
org.ofbiz.core.entity.GenericValue oldStatus,
org.ofbiz.core.entity.GenericValue newStatus)
addIssueIdsOnWorongWorkflow
public void addIssueIdsOnWorongWorkflow(Collection issueIds)
isIssueOnWrongWorkflow
public boolean isIssueOnWrongWorkflow(Long issueId)
getTargetStatus
public org.ofbiz.core.entity.GenericValue getTargetStatus(org.ofbiz.core.entity.GenericValue issue)
Copyright © 2002-2011 Atlassian. All Rights Reserved.