@InjectableComponent public class WorkRatioValidator extends Object implements ClauseValidator
Constructor and Description |
---|
WorkRatioValidator(JqlOperandResolver operandResolver,
ApplicationProperties applicationProperties) |
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 WorkRatioValidator(JqlOperandResolver operandResolver, ApplicationProperties applicationProperties)
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.Copyright © 2002-2015 Atlassian. All Rights Reserved.