public interface ValidatorPreferences
Validators
.Modifier and Type | Method and Description |
---|---|
boolean |
loadEnabled(@NotNull java.lang.String key,
boolean defaultEnabled)
Loads the stored "enabled" attribute.
|
void |
saveEnabled(@NotNull java.lang.String key,
boolean enabled)
Saves the "enabled" attribute.
|
boolean loadEnabled(@NotNull @NotNull java.lang.String key, boolean defaultEnabled)
key
- the validator's keydefaultEnabled
- whether the validator is enabled by defaultvoid saveEnabled(@NotNull @NotNull java.lang.String key, boolean enabled)
key
- the validator's keyenabled
- the enabled state