com.atlassian.jira.web.action.admin.workflow
Class WorkflowMigrationResultForMultipleProjects
java.lang.Object
com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResultForMultipleProjects
- All Implemented Interfaces:
- WorkflowMigrationResult, Serializable
public class WorkflowMigrationResultForMultipleProjects
- extends Object
- implements WorkflowMigrationResult
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowMigrationResultForMultipleProjects
public WorkflowMigrationResultForMultipleProjects(List<WorkflowMigrationResult> results)
getResult
public int getResult()
- Description copied from interface:
WorkflowMigrationResult
- Returns the result of the workflow migration.
- Specified by:
getResult
in interface WorkflowMigrationResult
- Returns:
- Either
WorkflowMigrationResult.SUCCESS
or WorkflowMigrationResult.TERMINATED
getErrorCollection
public ErrorCollection getErrorCollection()
- Description copied from interface:
WorkflowMigrationResult
- Returns a collection of errors that were found before starting the migration.
- Specified by:
getErrorCollection
in interface WorkflowMigrationResult
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<Long,String> 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-2014 Atlassian. All Rights Reserved.