public class WorkflowMigrationMapping extends Object
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.
Constructor and Description |
---|
WorkflowMigrationMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addIssueIdsOnWrongWorkflow(Collection<Long> issueIds) |
void |
addMapping(org.ofbiz.core.entity.GenericValue issueType,
org.ofbiz.core.entity.GenericValue oldStatus,
org.ofbiz.core.entity.GenericValue newStatus) |
Status |
getTargetStatus(Issue issue) |
boolean |
isIssueOnWrongWorkflow(Long issueId) |
public void addMapping(org.ofbiz.core.entity.GenericValue issueType, org.ofbiz.core.entity.GenericValue oldStatus, org.ofbiz.core.entity.GenericValue newStatus)
public void addIssueIdsOnWrongWorkflow(Collection<Long> issueIds)
public boolean isIssueOnWrongWorkflow(Long issueId)
Copyright © 2002-2019 Atlassian. All Rights Reserved.