public class FreeTextFieldValidator extends Object implements ClauseValidator
Modifier and Type | Field and Description |
---|---|
static List<String> |
INVALID_FIRST_CHAR_LIST
Deprecated.
|
Constructor and Description |
---|
FreeTextFieldValidator(String indexField,
JqlOperandResolver operandResolver) |
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.
|
@Deprecated public static final List<String> INVALID_FIRST_CHAR_LIST
public FreeTextFieldValidator(String indexField, JqlOperandResolver operandResolver)
@Nonnull public MessageSet validate(ApplicationUser searcher, @Nonnull TerminalClause terminalClause)
ClauseValidator
validate
in interface ClauseValidator
searcher
- the user who is executing the search.terminalClause
- the clause to validate.Copyright © 2002-2017 Atlassian. All Rights Reserved.