com.atlassian.jira.jql.context
Class QueryContextVisitor.QueryContextVisitorFactory
java.lang.Object
com.atlassian.jira.jql.context.QueryContextVisitor.QueryContextVisitorFactory
- Enclosing class:
- QueryContextVisitor
@InjectableComponent
public static class QueryContextVisitor.QueryContextVisitorFactory
- extends Object
Constructs an instance of QueryContextVisitor
for use.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryContextVisitor.QueryContextVisitorFactory
public QueryContextVisitor.QueryContextVisitorFactory(ContextSetUtil contextSetUtil,
SearchHandlerManager searchHandlerManager)
createVisitor
public QueryContextVisitor createVisitor(com.atlassian.crowd.embedded.api.User searcher)
- Use this to calculate the context for an entire Query.
- Parameters:
searcher
- the user to calculate the contexts for
- Returns:
- a visitor that will calculate the context for all clauses specified in the
Query
.
Copyright © 2002-2013 Atlassian. All Rights Reserved.