Annotation Interface StringPropertyListEdit
String property configurable in Appfigurate from a customizable list of
valid choices. See
Java String editable list implementation
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional regular expression validating the input.boolean
If the property value changes, the app can be optionally restarted.
-
Element Details
-
description
String descriptionString that describes the purpose of the property, to appear in Appfigurate's Configure app screen.- Returns:
- string describing purpose of the property.
-
keys
String[] keysList of keys. Each key must have a value entry.- Returns:
- keys.
-
values
String[] valuesList of String values. Each value must have a key entry and conform to the optional regular expression.- Returns:
- values.
-
regularExpression
String regularExpressionOptional regular expression validating the input.- Returns:
- regular expression or "" for no regular expression.
- Default:
""
-
restart
boolean restartIf the property value changes, the app can be optionally restarted.- Returns:
- true if the app should be restarted.
- Default:
false
-