Annotation Interface ConfigurationProperty


@Retention(RUNTIME) @Target(METHOD) public @interface 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
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    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 order
      Order in which this property is displayed.
      Default:
      -1
    • helpMessageKey

      String helpMessageKey
      Change the default help message key.
      Default:
      ""
    • displayMessageKey

      String displayMessageKey
      Change the default display message key.
      Default:
      ""
    • groupMessageKey

      String groupMessageKey
      Grouping of properties for UI.
      Default:
      ""
    • confidential

      boolean confidential
      Is this a confidential property whose value should be encrypted by the application when persisted?
      Default:
      false
    • required

      boolean required
      Is this property required?
      Returns:
      True if the property is required
      Default:
      false
    • operations

      Class<? extends SPIOperation>[] operations
      List 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:
      {}