@InjectableComponent public static class

QueryContextVisitor.QueryContextVisitorFactory

extends Object
java.lang.Object
   ↳ com.atlassian.jira.jql.context.QueryContextVisitor.QueryContextVisitorFactory

Class Overview

Constructs an instance of QueryContextVisitor for use.

Summary

Public Constructors
QueryContextVisitorFactory(ContextSetUtil contextSetUtil, SearchHandlerManager searchHandlerManager)
Public Methods
QueryContextVisitor createVisitor(ApplicationUser searcher)
Use this to calculate the context for an entire Query.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public QueryContextVisitorFactory (ContextSetUtil contextSetUtil, SearchHandlerManager searchHandlerManager)

Public Methods

public QueryContextVisitor createVisitor (ApplicationUser 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.