Interface Setting.SettingDependency
- All Known Subinterfaces:
Setting.AffixSettingDependency
public static interface Setting.SettingDependency
Allows a setting to declare a dependency on another setting being set. Optionally, a setting can validate the value of the dependent
setting.
-
Method Summary
-
Method Details
-
getSetting
Setting getSetting()The setting to declare a dependency on.- Returns:
- the setting
-
validate
Validates the dependent setting value.- Parameters:
key
- the key for this settingvalue
- the value of this settingdependency
- the value of the dependent setting
-