public class IssueVerifier extends Object
Constructor and Description |
---|
IssueVerifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIssueDetails(Issue issue,
ErrorCollection errorCollection,
ConstantsManager constantsManager,
boolean checkWorkflowIntegrity) |
protected I18nHelper |
getI18nBean() |
ErrorCollection |
verifyForMigration(Issue issue,
List<IssueType> typesNeedingMigration,
WorkflowMigrationMapping workflowMigrationMapping,
boolean checkWorkflowIntegrity) |
ErrorCollection |
verifyIssue(Issue issue,
Map<String,String> workflowMigrationMapping,
boolean checkWorkflowIntegrity)
This is a very basic integrity/verification test used to indicate if a workflow migration
for a specific issue is possible.
|
public ErrorCollection verifyIssue(Issue issue, Map<String,String> workflowMigrationMapping, boolean checkWorkflowIntegrity)
It is not possible to test all steps in the migration process due to database access and creation of new elements (e.g. workflow entries, etc).
This test ensures that a specific issue is in a suitable state (e.g. workflow, status, etc).
This is the professional version of the checker.
public ErrorCollection verifyForMigration(Issue issue, List<IssueType> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity)
protected void checkIssueDetails(Issue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity) throws WorkflowException
WorkflowException
protected I18nHelper getI18nBean()
Copyright © 2002-2017 Atlassian. All Rights Reserved.