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:
-
Field Summary
Fields inherited from interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult
SUCCESS, TERMINATED
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of errors that were found before starting the migration.AMap
of issue ids to issue keys of failed issues.int
The number of issues that failed during the migration, or until the migration was terminated.int
Returns the result of the workflow migration.
-
Constructor Details
-
WorkflowMigrationResultForMultipleProjects
-
-
Method Details
-
getResult
public int getResult()Description copied from interface:WorkflowMigrationResult
Returns the result of the workflow migration.- Specified by:
getResult
in interfaceWorkflowMigrationResult
- Returns:
- Either
WorkflowMigrationResult.SUCCESS
orWorkflowMigrationResult.TERMINATED
-
getErrorCollection
Description copied from interface:WorkflowMigrationResult
Returns a collection of errors that were found before starting the migration.- Specified by:
getErrorCollection
in interfaceWorkflowMigrationResult
-
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 interfaceWorkflowMigrationResult
- 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
Description copied from interface:WorkflowMigrationResult
AMap
of issue ids to issue keys of failed issues.- Specified by:
getFailedIssues
in interfaceWorkflowMigrationResult
- 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.
-