public class

WorkflowMigrationTerminated

extends AbstractWorkflowMigrationResult
java.lang.Object
   ↳ com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
     ↳ com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationTerminated

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
Public Constructors
WorkflowMigrationTerminated(SimpleErrorCollection errorCollection)
Constructs a result that indicates termination due to the fact that errors were found with the data before the migration actaully began and any issues modified.
WorkflowMigrationTerminated(Map<LongString> failedIssues)
Constructs a result that indicates termination of the migration due to the fact that too many issues failed to migrate.
Public Methods
ErrorCollection getErrorCollection()
int getResult()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowMigrationResult
From class java.lang.Object
From interface com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationResult

Public Constructors

public WorkflowMigrationTerminated (SimpleErrorCollection errorCollection)

Constructs a result that indicates termination due to the fact that errors were found with the data before the migration actaully began and any issues modified.

Parameters
errorCollection collection of any errors that were found. Must contain at least one error or error message and must not be null.
Throws
IllegalArgumentException if null or empty error collection is passed.

public WorkflowMigrationTerminated (Map<LongString> failedIssues)

Constructs a result that indicates termination of the migration due to the fact that too many issues failed to migrate.

Parameters
failedIssues the issue id to issue key map of issues that failed migration until the decision was made to terminate the migration. Must not be null or empty.
Throws
IllegalArgumentException if null or empty map is passed.

Public Methods

public ErrorCollection getErrorCollection ()

public int getResult ()