@InjectableComponent public class ProjectCategoryResolver extends Object
QueryLiterals into project categories and projects.| Constructor and Description |
|---|
ProjectCategoryResolver(ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
ProjectCategory |
getProjectCategory(QueryLiteral literal) |
Collection<Project> |
getProjectsForCategory(QueryLiteral literal) |
public ProjectCategoryResolver(ProjectManager projectManager)
public ProjectCategory getProjectCategory(QueryLiteral literal)
literal - the query literal to resolve; must not be null.public Collection<Project> getProjectsForCategory(QueryLiteral literal)
literal - the query literal to resolve; must not be null.Projects 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.Copyright © 2002-2016 Atlassian. All Rights Reserved.