com.atlassian.jira.issue
Class IssueVerifier

java.lang.Object
  extended by com.atlassian.jira.issue.IssueVerifier
Direct Known Subclasses:
EnterpriseIssueVerifier

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  I18nBean getI18nBean()
           
 ErrorCollection verifyIssue(org.ofbiz.core.entity.GenericValue issue, Map 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 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.

checkIssueDetails

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

getI18nBean

protected I18nBean getI18nBean()


Copyright © 2002-2007 Atlassian. All Rights Reserved.