public class DefaultValidatorPreferences extends java.lang.Object implements ValidatorPreferences
ValidatorPreferences implementations. Stores settings in
preferences.| Constructor and Description |
|---|
DefaultValidatorPreferences() |
| 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.
|
public boolean loadEnabled(@NotNull
@NotNull java.lang.String key,
boolean defaultEnabled)
ValidatorPreferencesloadEnabled in interface ValidatorPreferenceskey - the validator's keydefaultEnabled - whether the validator is enabled by defaultpublic void saveEnabled(@NotNull
@NotNull java.lang.String key,
boolean enabled)
ValidatorPreferencessaveEnabled in interface ValidatorPreferenceskey - the validator's keyenabled - the enabled state