public class SelectCustomFieldValidator extends Object implements ClauseValidator
Constructor and Description |
---|
SelectCustomFieldValidator(CustomField customField,
JqlSelectOptionsUtil jqlSelectOptionsUtil,
JqlOperandResolver jqlOperandResolver,
I18nHelper.BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected List<Option> |
getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
MessageSet |
validate(ApplicationUser searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
public SelectCustomFieldValidator(CustomField customField, JqlSelectOptionsUtil jqlSelectOptionsUtil, JqlOperandResolver jqlOperandResolver, I18nHelper.BeanFactory beanFactory)
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.protected List<Option> getOptionsFromLiteral(ApplicationUser searcher, QueryLiteral literal)
Copyright © 2002-2022 Atlassian. All Rights Reserved.