public class ProjectClauseContextFactory extends Object implements ClauseContextFactory
ClauseContext
for a project 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.EXPLICIT
and it will always return the AllIssueTypesContext
for issue types.
Constructor and Description |
---|
ProjectClauseContextFactory(JqlOperandResolver jqlOperandResolver,
NameResolver<Project> projectResolver,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
ClauseContext |
getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause)
Generates a clause context for the associated handler.
|
public ProjectClauseContextFactory(JqlOperandResolver jqlOperandResolver, NameResolver<Project> projectResolver, PermissionManager permissionManager)
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-2019 Atlassian. All Rights Reserved.