@InjectableComponent public class ProjectCategoryClauseContextFactory extends Object implements ClauseContextFactory
ClauseContext
for a project category clause based on the specified
project values and the projects that the user has permission to see.
The projects in the context that are generated here are QueryContextElementType.IMPLICIT
and it will always return the AllIssueTypesContext
for issue types.
Constructor and Description |
---|
ProjectCategoryClauseContextFactory(PermissionManager permissionManager,
ProjectCategoryResolver projectCategoryResolver,
JqlOperandResolver jqlOperandResolver) |
Modifier and Type | Method and Description |
---|---|
ClauseContext |
getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause)
Generates a clause context for the associated handler.
|
public ProjectCategoryClauseContextFactory(PermissionManager permissionManager, ProjectCategoryResolver projectCategoryResolver, JqlOperandResolver jqlOperandResolver)
public ClauseContext getClauseContext(ApplicationUser searcher, TerminalClause terminalClause)
ClauseContextFactory
getClauseContext
in interface ClauseContextFactory
searcher
- the user who is performing the searchterminalClause
- the clause for which this factory is generating a context.Copyright © 2002-2024 Atlassian. All Rights Reserved.