public class IssueLinkTypesClauseValidator extends Object implements ClauseValidator
Constructor and Description |
---|
IssueLinkTypesClauseValidator(JqlOperandResolver operandResolver,
IssueLinkTypeManager issueLinkTypeManager,
SupportedOperatorsValidator supportedOperatorsValidator) |
Modifier and Type | Method and Description |
---|---|
protected I18nHelper |
getI18nBean(ApplicationUser searcher) |
MessageSet |
validate(ApplicationUser searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
void |
validateInternal(Collection<String> values,
java.util.function.Consumer<String> onErrorAction,
I18nHelper i18n) |
public IssueLinkTypesClauseValidator(JqlOperandResolver operandResolver, IssueLinkTypeManager issueLinkTypeManager, SupportedOperatorsValidator supportedOperatorsValidator)
@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.protected I18nHelper getI18nBean(ApplicationUser searcher)
public void validateInternal(Collection<String> values, java.util.function.Consumer<String> onErrorAction, I18nHelper i18n)
Copyright © 2002-2021 Atlassian. All Rights Reserved.