Annotation Interface ConfigurationItem


@Retention(RUNTIME) @Target(FIELD) public @interface ConfigurationItem
Configuration items to be used in conjunction with ValidationConfiguration and used by an instace of org.broadleafcommerce.openadmin.server.service.persistence.validation.PropertyValidator
Author:
jfischer
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the validation configuration item
    The value for the validation configuration item
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Item name for the error message (could also be a key to a properties file to support localization)
  • Field Details

    • ERROR_MESSAGE

      static final String ERROR_MESSAGE
      Item name for the error message (could also be a key to a properties file to support localization)
      See Also:
  • Element Details

    • itemName

      String itemName

      The name of the validation configuration item

      Returns:
      the config item name
    • itemValue

      String itemValue

      The value for the validation configuration item

      Returns:
      the config item value