Module io.annot8.components.items
Class ItemPropertyAsBoolean.Settings
- java.lang.Object
-
- io.annot8.components.items.processors.ItemPropertyAsBoolean.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- ItemPropertyAsBoolean
public static class ItemPropertyAsBoolean.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()List<Object>getTrueValues()voidsetKey(String key)voidsetTrueValues(List<Object> trueValues)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getKey
@Description("The property key to convert") public String getKey()
-
setKey
public void setKey(String key)
-
getTrueValues
@Description("The list of values to accept as true. Comparison is done both on the original property value, and on the lower case String representation of it.") public List<Object> getTrueValues()
-
-