...
Metadata name | JSON type | Default | Example value | Description |
---|---|---|---|---|
multiple | boolean | false | true/false | if comma separated values |
mustExtendClass | String | a.b.c.SomeClass | If the value is a class and must extend another class | |
mustImplementInterface | String | a.b.c.SomeInterface | If the value is a class and must extend an interface | |
regex | String | ^configuration.autocreate.group.description.[0-9]+$ | If the key must match a certain regex | |
required | boolean | false | true/false | If a value must be provided |
requiresRestart | boolean | false | true/false | If the JVM needs to be restarted when changing value |
sampleValue | String | Something | An example value that shows the user how to configure | |
sensitive | boolean | false | true/false | If the value can be a password or something sensitive |
valueType | String | String | attributeDef, attributeDefName, boolean, class, floating, group, integer, password, stem, string, subject | From enum ConfigItemMetadataType, the type of the value |
formElement (new in 2.5 build) | String | text for most things and password for sensitive items | text, textarea, password, dropdown; | From enum ConfigItemFormElement |
optionValues | String[] | if this is a dropdown then this is the option values available |
Configuration file layout
...