Package com.atlassian.jira.jql.query
Class HistoryPredicateQueryFactory
java.lang.Object
com.atlassian.jira.jql.query.HistoryPredicateQueryFactory
- Since:
- v4.4
-
Constructor Summary
ConstructorDescriptionHistoryPredicateQueryFactory
(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) Deprecated.HistoryPredicateQueryFactory
(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, UserResolver userResolver, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.BooleanQuery
makePredicateQuery
(ApplicationUser searcher, String field, HistoryPredicate historyPredicate, boolean isChangedSearch)
-
Constructor Details
-
HistoryPredicateQueryFactory
@Deprecated public HistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) Deprecated. -
HistoryPredicateQueryFactory
public HistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, UserResolver userResolver, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) - Parameters:
predicateOperandResolver
- resolvesHistoryPredicate
valuesjqlDateSupport
- parses SQL datesuserResolver
- resolves users to their keyschangeHistoryFieldIdResolver
- resolves historic values to their corresponding IDs
-
-
Method Details
-
makePredicateQuery
public org.apache.lucene.search.BooleanQuery makePredicateQuery(ApplicationUser searcher, String field, HistoryPredicate historyPredicate, boolean isChangedSearch)
-
HistoryPredicateQueryFactory(PredicateOperandResolver, JqlDateSupport, UserResolver, ChangeHistoryFieldIdResolver)
instead.