Interface ValidatorSettings
-
@ProviderType public interface ValidatorSettings
Settings relevant for oneValidatorFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ValidationMessageSeverity
getDefaultSeverity()
Returns the default severity.@NotNull Map<String,String>
getOptions()
Returns the additional options.boolean
isDisabled()
Returns whether the validator is disabled.
-
-
-
Method Detail
-
getDefaultSeverity
@NotNull @NotNull ValidationMessageSeverity getDefaultSeverity()
Returns the default severity.- Returns:
- the default severity for most
ValidationMessage
s being returned by the validator.
-
getOptions
@NotNull @NotNull Map<String,String> getOptions()
Returns the additional options.- Returns:
- list of options relevant for this validator
-
isDisabled
boolean isDisabled()
Returns whether the validator is disabled.- Returns:
true
in case validator is disabled otherwisefalse
-
-