@InjectableComponent public class IssueIdValidator extends Object implements ClauseValidator
Modifier and Type | Field and Description |
---|---|
static int |
MAX_FUNC_OPERANDS_CHECKED |
static int |
MAX_MANUAL_OPERANDS_CHECKED |
Constructor and Description |
---|
IssueIdValidator(JqlOperandResolver operandResolver,
JqlIssueKeySupport issueKeySupport,
JqlIssueSupport issueSupport,
I18nHelper.BeanFactory i18nFactory,
MovedIssueKeyStore moveIssueKeyStore) |
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 static final int MAX_FUNC_OPERANDS_CHECKED
public static final int MAX_MANUAL_OPERANDS_CHECKED
public IssueIdValidator(JqlOperandResolver operandResolver, JqlIssueKeySupport issueKeySupport, JqlIssueSupport issueSupport, I18nHelper.BeanFactory i18nFactory, MovedIssueKeyStore moveIssueKeyStore)
@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-2021 Atlassian. All Rights Reserved.