Annotation Interface EncryptedStringPropertyListEdit


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface EncryptedStringPropertyListEdit
Encrypted String property configurable in Appfigurate from a customizable list of valid choices. See Java String editable list implementation
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    String that describes the purpose of the property, to appear in Appfigurate's Configure app screen.
    boolean
    Return the result of calling the BuildConfig.ENCRYPTED() method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional regular expression validating the input.
    boolean
    If the property value changes, the app can be optionally restarted.
  • Element Details

    • description

      String description
      String that describes the purpose of the property, to appear in Appfigurate's Configure app screen.
      Returns:
      string describing purpose of the property.
    • regularExpression

      String regularExpression
      Optional regular expression validating the input.
      Returns:
      regular expression or "" for no regular expression.
      Default:
      ""
    • restart

      boolean restart
      If the property value changes, the app can be optionally restarted.
      Returns:
      true if the app should be restarted.
      Default:
      false
    • encrypted

      boolean encrypted
      Return the result of calling the BuildConfig.ENCRYPTED() method.
      Returns:
      true if the build contains encrypted values (Release), or false if the build contains plain text (Debug).