|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.imports.project.util.IssueTypeImportHelper
public class IssueTypeImportHelper
Contains shared functions around issue types required for project import.
| Constructor Summary | |
|---|---|
IssueTypeImportHelper(ConstantsManager constantsManager,
ProjectManager projectManager,
IssueTypeSchemeManager issueTypeSchemeManager)
|
|
| Method Summary | |
|---|---|
IssueType |
getIssueTypeForName(String name)
Returns the IssueType, in the current system, with the given name. |
boolean |
isIssueTypeValidForProject(String projectKey,
String newIssueTypeId)
Checks the projects issue type scheme to determine if the issue type identified by newIssueTypeId is contained in the projects scheme. |
boolean |
isMappingValid(IssueType newIssueType,
String projectKey,
boolean oldIssueTypeIsSubTask)
Checks to see that the issue type is valid for the provided project key and that its subtask-ness matches the old issue type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssueTypeImportHelper(ConstantsManager constantsManager,
ProjectManager projectManager,
IssueTypeSchemeManager issueTypeSchemeManager)
| Method Detail |
|---|
public IssueType getIssueTypeForName(String name)
name - name of the IssueType.
public boolean isMappingValid(IssueType newIssueType,
String projectKey,
boolean oldIssueTypeIsSubTask)
newIssueType - the issueType to be inspected, should not be nullprojectKey - the project key to see if the issue type is relevant for that projectoldIssueTypeIsSubTask - true if the old issue type was a subtask issue type, false otherwise
public boolean isIssueTypeValidForProject(String projectKey,
String newIssueTypeId)
projectKey - identifies the projectnewIssueTypeId - identifies the issue type to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||