Annotation Type ConfigurationProperty
The
Configuration
interface is traversed through reflection. This
annotation provides a way to override the default configuration operation for
each property.- Since:
- 1.0
- Author:
- Will Droste
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
List of allowed values for the property.Specification of openness of list of allowed values.boolean
Is this a confidential property whose value should be encrypted by the application when persisted?Change the default display message key.Grouping of properties for UI.Change the default help message key.Class<? extends SPIOperation>[]
List of operations for which this property must be specified.int
Order in which this property is displayed.boolean
Is this property required?
-
Element Details
-
order
int orderOrder in which this property is displayed.- Default:
-1
-
helpMessageKey
String helpMessageKeyChange the default help message key.- Default:
""
-
displayMessageKey
String displayMessageKeyChange the default display message key.- Default:
""
-
groupMessageKey
String groupMessageKeyGrouping of properties for UI.- Default:
""
-
confidential
boolean confidentialIs this a confidential property whose value should be encrypted by the application when persisted?- Default:
false
-
required
boolean requiredIs this property required?- Returns:
- True if the property is required
- Default:
false
-
operations
Class<? extends SPIOperation>[] operationsList of operations for which this property must be specified. This is used for the case where a connector may or may not implement certain operations depending in the configuration. The default value of "empty array" is special in that it means that this property is applicable to all operations.- Default:
{}
-
allowedValues
String[] allowedValuesList of allowed values for the property. The values are specified as a list of strings. They are converted to appropriate data format before use.- Since:
- 1.5.2.0
- Default:
{}
-
allowedValuesOpenness
ValueListOpenness allowedValuesOpennessSpecification of openness of list of allowed values. In closed list, values specified in the list are the only valid values for the property. Any unlisted value is considered to be invalid. In open list, the values specified in the list should be considered suggestions only. Even an unlisted value can be specified as a valid value of the property.- Since:
- 1.5.2.0
- Default:
CLOSED
-