Class WorkflowMigrationSuccess
java.lang.Object
com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationSuccess
- All Implemented Interfaces:
WorkflowMigrationResult
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
failedIssues
Fields inherited from interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult
SUCCESS, TERMINATED
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowMigrationSuccess
(Map<Long, String> failedIssues) Construct a result that indicates success. -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of errors that were found before starting the migration.int
Returns the result of the workflow migration.Methods inherited from class com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
getFailedIssues, getNumberOfFailedIssues
-
Constructor Details
-
WorkflowMigrationSuccess
Construct a result that indicates success.- Parameters:
failedIssues
- a map of issue ids to issue keys of issues that failed to migrate during the migration. If there were no failures this must be an empty map.
-
-
Method Details
-
getResult
public int getResult()Description copied from interface:WorkflowMigrationResult
Returns the result of the workflow migration.- Returns:
- Either
WorkflowMigrationResult.SUCCESS
orWorkflowMigrationResult.TERMINATED
-
getErrorCollection
Description copied from interface:WorkflowMigrationResult
Returns a collection of errors that were found before starting the migration.
-