Package com.atlassian.jira.jql.resolver
Class ProjectCategoryResolver
java.lang.Object
com.atlassian.jira.jql.resolver.ProjectCategoryResolver
A class for resolving
QueryLiteral
s into project categories and projects.- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjectCategory
(QueryLiteral literal) getProjectsForCategory
(QueryLiteral literal)
-
Constructor Details
-
ProjectCategoryResolver
-
-
Method Details
-
getProjectCategory
- Parameters:
literal
- the query literal to resolve; must not be null.- Returns:
- the GenericValue representing the project category; null if the literal was empty or if the literal did not resolve successfully.
-
getProjectsForCategory
- Parameters:
literal
- the query literal to resolve; must not be null.- Returns:
- the
Project
s belonging to the represented category - if the literal was empty then these will be the projects with no category set. If the literal did not resolve to a category, this will be an empty set.
-