public final class DefaultValidatorRegistry extends Object implements ValidatorRegistry
| Constructor and Description |
|---|
DefaultValidatorRegistry(SearchHandlerManager manager,
WasClauseValidator wasClauseValidator,
ChangedClauseValidator changedClauseValidator) |
| Modifier and Type | Method and Description |
|---|---|
ChangedClauseValidator |
getClauseValidator(ApplicationUser searcher,
ChangedClause clause)
Fetches the associated ClauseValidators for the provided ChangedClause.
|
Collection<ClauseValidator> |
getClauseValidator(ApplicationUser searcher,
TerminalClause clause)
Fetches the associated ClauseValidators for the provided TerminalClause.
|
Collection<ClauseValidator> |
getClauseValidator(ApplicationUser searcher,
WasClause clause)
Fetches the associated ClauseValidators for the provided WasClause.
|
public DefaultValidatorRegistry(SearchHandlerManager manager, WasClauseValidator wasClauseValidator, ChangedClauseValidator changedClauseValidator)
public Collection<ClauseValidator> getClauseValidator(ApplicationUser searcher, TerminalClause clause)
ValidatorRegistryOperator that is associated with the
provided clause. Multiple values may be returned for custom fields.getClauseValidator in interface ValidatorRegistrysearcher - the user who is performing the search.clause - that defines the name and operator for which we want to find a clause validator, must not be null.public Collection<ClauseValidator> getClauseValidator(ApplicationUser searcher, WasClause clause)
ValidatorRegistryOperator that is associated with the
provided clause. Multiple values may be returned for custom fields.getClauseValidator in interface ValidatorRegistrysearcher - the user who is performing the search.clause - that defines the name and operator for which we want to find a clause validator, must not be null.public ChangedClauseValidator getClauseValidator(ApplicationUser searcher, ChangedClause clause)
ValidatorRegistrygetClauseValidator in interface ValidatorRegistrysearcher - the user who is performing the search.clause - that defines the fieldCopyright © 2002-2017 Atlassian. All Rights Reserved.