Annotation Interface PublicName
This annotation allows defining configuration property name that is otherwise impossible to define in configuration schema. For example,
if it matches a keyword of the Java language, or if it results in name conflicts in generated
Configuration/View classes.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]An array of old deprecated names for the configuration.Public configuration property name.
-
Element Details
-
value
String valuePublic configuration property name. This name, if present, is used to store this configuration in configuration storage and to render the configuration to the user. Empty string means that public name matches the schema field name.- Default:
- ""
-
legacyNames
String[] legacyNamesAn array of old deprecated names for the configuration. Any of these names should be accounted for when parsing configuration from any source, but avoided when showing to the user or saving to the configuration storage. These names should also be deleted from the corresponding configuration storage upon encountering.- Default:
- {}
-