com.atlassian.jira.issue
Class IssueVerifier

java.lang.Object
  extended by com.atlassian.jira.issue.IssueVerifier

public class IssueVerifier
extends Object


Constructor Summary
IssueVerifier()
           
 
Method Summary
protected  void checkIssueDetails(org.ofbiz.core.entity.GenericValue issue, ErrorCollection errorCollection, ConstantsManager constantsManager, boolean checkWorkflowIntegrity)
           
protected  I18nHelper getI18nBean()
           
 ErrorCollection verifyForMigration(org.ofbiz.core.entity.GenericValue issue, List<org.ofbiz.core.entity.GenericValue> typesNeedingMigration, WorkflowMigrationMapping workflowMigrationMapping, boolean checkWorkflowIntegrity)
           
 ErrorCollection verifyIssue(org.ofbiz.core.entity.GenericValue 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.
 ErrorCollection verifyIssue(Issue issue, Map workflowMigrationMapping, boolean checkWorkflowIntegrity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueVerifier

public IssueVerifier()
Method Detail

verifyIssue

public ErrorCollection verifyIssue(Issue issue,
                                   Map workflowMigrationMapping,
                                   boolean checkWorkflowIntegrity)

verifyIssue

public ErrorCollection verifyIssue(org.ofbiz.core.entity.GenericValue 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.

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.

Returns:
an error collection detailing errors associated with the issue.

verifyForMigration

public ErrorCollection verifyForMigration(org.ofbiz.core.entity.GenericValue issue,
                                          List<org.ofbiz.core.entity.GenericValue> typesNeedingMigration,
                                          WorkflowMigrationMapping workflowMigrationMapping,
                                          boolean checkWorkflowIntegrity)

checkIssueDetails

protected void checkIssueDetails(org.ofbiz.core.entity.GenericValue issue,
                                 ErrorCollection errorCollection,
                                 ConstantsManager constantsManager,
                                 boolean checkWorkflowIntegrity)
                          throws WorkflowException
Throws:
WorkflowException

getI18nBean

protected I18nHelper getI18nBean()


Copyright © 2002-2012 Atlassian. All Rights Reserved.