public class WasClauseQueryFactory extends Object
Constructor and Description |
---|
WasClauseQueryFactory(SearchProviderFactory searchProviderFactory,
JqlOperandResolver operandResolver,
HistoryPredicateQueryFactory wasPredicateQueryFactory,
EmptyWasClauseOperandHandler emptyWasClauseOperandHandler,
ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) |
Modifier and Type | Method and Description |
---|---|
QueryFactoryResult |
create(ApplicationUser searcher,
WasClause clause) |
public WasClauseQueryFactory(SearchProviderFactory searchProviderFactory, JqlOperandResolver operandResolver, HistoryPredicateQueryFactory wasPredicateQueryFactory, EmptyWasClauseOperandHandler emptyWasClauseOperandHandler, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver)
searchProviderFactory
- factory for retrieving the history search provideroperandResolver
- resolves Operand
and retrieves their valueswasPredicateQueryFactory
- returns queries for the predicatesemptyWasClauseOperandHandler
- handler for WAS EMPTY querieschangeHistoryFieldIdResolver
- public QueryFactoryResult create(ApplicationUser searcher, WasClause clause)
searcher
- the ApplicationUser
representing the current searcherclause
- the search clause, for instance "Status was Open"QueryFactoryResult
that wraps the Lucene QueryCopyright © 2002-2019 Atlassian. All Rights Reserved.