public class

WasClauseQueryFactory

extends Object
java.lang.Object
   ↳ com.atlassian.jira.jql.query.WasClauseQueryFactory

Class Overview

Factory class for validating and building the Lucene Was query.

Summary

Public Constructors
WasClauseQueryFactory(SearchProviderFactory searchProviderFactory, JqlOperandResolver operandResolver, HistoryPredicateQueryFactory wasPredicateQueryFactory, EmptyWasClauseOperandHandler emptyWasClauseOperandHandler, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver)
Public Methods
QueryFactoryResult create(User searcher, WasClause clause)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WasClauseQueryFactory (SearchProviderFactory searchProviderFactory, JqlOperandResolver operandResolver, HistoryPredicateQueryFactory wasPredicateQueryFactory, EmptyWasClauseOperandHandler emptyWasClauseOperandHandler, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver)

Parameters
searchProviderFactory factory for retrieving the history search provider
operandResolver resolves Operand and retrieves their values
wasPredicateQueryFactory returns queries for the predicates
emptyWasClauseOperandHandler handler for WAS EMPTY queries

Public Methods

public QueryFactoryResult create (User searcher, WasClause clause)

Parameters
searcher the User representing the current searcher
clause the search cluase , for instance "Status was Open"
Returns