public class WasClauseValidator extends Object implements ClauseValidator
Constructor and Description |
---|
WasClauseValidator(JqlOperandResolver operandResolver,
SearchHandlerManager searchHandlerManager,
IndexedChangeHistoryFieldManager indexedChangeHistoryFieldManager,
ChangeHistoryManager changeHistoryManager,
PredicateOperandResolver predicateOperandResolver,
JqlDateSupport jqlDateSupport,
JiraAuthenticationContext authContext,
JqlChangeItemMapping jqlChangeItemMapping,
ChangeHistoryFieldConfigurationManager configurationManager,
HistoryFieldValueValidator historyFieldValueValidator,
UserManager userManager,
JqlFunctionHandlerRegistry registry) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
validate(ApplicationUser searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
public WasClauseValidator(JqlOperandResolver operandResolver, SearchHandlerManager searchHandlerManager, IndexedChangeHistoryFieldManager indexedChangeHistoryFieldManager, ChangeHistoryManager changeHistoryManager, PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, JiraAuthenticationContext authContext, JqlChangeItemMapping jqlChangeItemMapping, ChangeHistoryFieldConfigurationManager configurationManager, HistoryFieldValueValidator historyFieldValueValidator, UserManager userManager, JqlFunctionHandlerRegistry registry)
public MessageSet validate(ApplicationUser searcher, TerminalClause terminalClause)
ClauseValidator
validate
in interface ClauseValidator
searcher
- the user who is executing the search.terminalClause
- the clause to validate.Copyright © 2002-2018 Atlassian. All Rights Reserved.