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 User
representing the current searcherclause
- the search cluase , for instance "Status was Open"QueryFactoryResult
that wraps the Lucene QueryCopyright © 2002-2017 Atlassian. All Rights Reserved.