com.atlassian.jira.jql.context
Class QueryContextVisitor.QueryContextVisitorFactory

java.lang.Object
  extended by com.atlassian.jira.jql.context.QueryContextVisitor.QueryContextVisitorFactory
Enclosing class:
QueryContextVisitor

@InjectableComponent
public static class QueryContextVisitor.QueryContextVisitorFactory
extends java.lang.Object

Constructs an instance of QueryContextVisitor for use.

Since:
v4.0

Constructor Summary
QueryContextVisitor.QueryContextVisitorFactory(ContextSetUtil contextSetUtil, SearchHandlerManager searchHandlerManager)
           
 
Method Summary
 QueryContextVisitor createVisitor(com.opensymphony.user.User searcher)
          Use this to calculate the context for an entire Query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryContextVisitor.QueryContextVisitorFactory

public QueryContextVisitor.QueryContextVisitorFactory(ContextSetUtil contextSetUtil,
                                                      SearchHandlerManager searchHandlerManager)
Method Detail

createVisitor

public QueryContextVisitor createVisitor(com.opensymphony.user.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-2010 Atlassian. All Rights Reserved.