public class DateBoostValueValidator extends LocalizedBoostValueValidator
yyyy-MM-dd'T'HH:mm:ss'Z'. Exception messages are localized by
L10NServicel10nService| Constructor and Description |
|---|
DateBoostValueValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(SolrPropertiesTypes solrPropertiesType)
|
void |
validate(String value)
Validate the supplied
value string, for which the BoostValueValidator.isApplicable(SolrPropertiesTypes) method
return true. |
setL10nServicepublic void validate(String value) throws InterceptorException
BoostValueValidatorvalue string, for which the BoostValueValidator.isApplicable(SolrPropertiesTypes) method
return true. Throws InterceptorException when validation fails.value - the string that is to be validatedInterceptorExceptionpublic boolean isApplicable(SolrPropertiesTypes solrPropertiesType)
BoostValueValidatortrue if the validator is applicable;
false otherwiseCopyright © 2017 SAP SE. All Rights Reserved.