com.atlassian.jira.web.action.admin.workflow
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
public class WorkflowMigrationSuccess
- extends AbstractWorkflowMigrationResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowMigrationSuccess
public WorkflowMigrationSuccess(Map<Long,String> failedIssues)
- 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.
getResult
public int getResult()
- Description copied from interface:
WorkflowMigrationResult
- Returns the result of the workflow migration.
- 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.
Copyright © 2002-2014 Atlassian. All Rights Reserved.