Package io.datarouter.storage.setting
Class MutableBooleanSetting
java.lang.Object
io.datarouter.storage.setting.MutableBooleanSetting
- All Implemented Interfaces:
Setting<Boolean>,BooleanSetting,Supplier<Boolean>
public class MutableBooleanSetting extends Object implements BooleanSetting
-
Constructor Summary
Constructors Constructor Description MutableBooleanSetting(AtomicBoolean value) -
Method Summary
Modifier and Type Method Description Booleanget()BooleangetDefaultValue()booleangetHasCustomValue()booleangetHasRedundantCustomValue()StringgetName()booleanisValid(String value)
-
Constructor Details
-
Method Details
-
getName
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceSetting<Boolean>
-
get
-
getHasCustomValue
public boolean getHasCustomValue()- Specified by:
getHasCustomValuein interfaceSetting<Boolean>
-
getHasRedundantCustomValue
public boolean getHasRedundantCustomValue()- Specified by:
getHasRedundantCustomValuein interfaceSetting<Boolean>
-
isValid
-