public class AffectedVersionValidator extends Object
Constructor and Description |
---|
AffectedVersionValidator(VersionResolver versionResolver,
JqlOperandResolver operandResolver,
PermissionManager permissionManager,
VersionManager versionManager,
I18nHelper.BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.event.api.EventPublisher |
getEventPublisher() |
MessageSet |
validate(ApplicationUser searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
MessageSet |
validate(TerminalClause terminalClause,
QueryCreationContext queryCreationContext) |
public AffectedVersionValidator(VersionResolver versionResolver, JqlOperandResolver operandResolver, PermissionManager permissionManager, VersionManager versionManager, I18nHelper.BeanFactory beanFactory)
@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.@Nonnull public MessageSet validate(TerminalClause terminalClause, QueryCreationContext queryCreationContext)
protected com.atlassian.event.api.EventPublisher getEventPublisher()
Copyright © 2002-2024 Atlassian. All Rights Reserved.