com.atlassian.jira.web.action.admin.workflow
Class AbstractWorkflowMigrationResult
java.lang.Object
com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
- All Implemented Interfaces:
- WorkflowMigrationResult
- Direct Known Subclasses:
- WorkflowMigrationSuccess, WorkflowMigrationTerminated
public abstract class AbstractWorkflowMigrationResult
- extends Object
- implements WorkflowMigrationResult
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
failedIssues
protected final Map failedIssues
AbstractWorkflowMigrationResult
protected AbstractWorkflowMigrationResult(Map failedIssues)
getNumberOfFailedIssues
public int getNumberOfFailedIssues()
- Description copied from interface:
WorkflowMigrationResult
- The number of issues that failed during the migration, or until the migration was terminated.
- Specified by:
getNumberOfFailedIssues in interface WorkflowMigrationResult
- Returns:
- 0 if no failures were encountered, or if the migration did not start due to found errors
(see
WorkflowMigrationResult.getNumberOfFailedIssues()). Or the number of failures during the migration, or until the
migration was terminated.
getFailedIssues
public Map getFailedIssues()
- Description copied from interface:
WorkflowMigrationResult
- A
Map of issue ids to issue keys of failed issues.
- Specified by:
getFailedIssues in interface WorkflowMigrationResult
- Returns:
- an empty map if
WorkflowMigrationResult.getNumberOfFailedIssues() is 0 or a mapping of issue id to issue key
for every failed issue during the migration.
Copyright © 2002-2012 Atlassian. All Rights Reserved.