Package com.atlassian.jira.bc.project
Class ProjectTypeValidator
java.lang.Object
com.atlassian.jira.bc.project.ProjectTypeValidator
Validator for project types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(ApplicationUser user, ProjectTypeKey projectTypeKey) Validates the given project type.
-
Constructor Details
-
ProjectTypeValidator
-
-
Method Details
-
isValid
Validates the given project type. A project type can not be null and its value must be defined on the JIRA instance.- Parameters:
user
- The user that performs the action during which the project type gets validatedprojectTypeKey
- The project type key to validate- Returns:
- Whether the project type is valid or not
-