Module io.annot8.components.items
Class ItemPropertyFromProperty.Settings
- java.lang.Object
-
- io.annot8.components.items.processors.ItemPropertyFromProperty.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- ItemPropertyFromProperty
public static class ItemPropertyFromProperty.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 StringgetDefaultValue()intgetGroup()PatterngetPattern()StringgetSourceKey()StringgetTargetKey()voidsetDefaultValue(String defaultValue)voidsetGroup(int group)voidsetPattern(Pattern pattern)voidsetSourceKey(String sourceKey)voidsetTargetKey(String targetKey)booleanvalidate()
-
-
-
Method Detail
-
getSourceKey
@Description("The property key to read") public String getSourceKey()
-
setSourceKey
public void setSourceKey(String sourceKey)
-
getTargetKey
@Description("The property key to write") public String getTargetKey()
-
setTargetKey
public void setTargetKey(String targetKey)
-
getPattern
@Description("The RegEx to apply to the property pattern") public Pattern getPattern()
-
setPattern
public void setPattern(Pattern pattern)
-
getGroup
@Description("Which RegEx group to use for the type") public int getGroup()
-
setGroup
public void setGroup(int group)
-
getDefaultValue
@Description("The default type to use if the RegEx doesn\'t match or the property isn\'t a String (null for ignore)") public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
-