Annotation Interface IntPropertyListEdit


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface IntPropertyListEdit
Integer property configurable in Appfigurate from a list of valid choices. The user can customise the list by adding additional values. See Java int 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.
    List of keys.
    int
    Maximum value for the int property in range of -2,147,483,648..2,147,483,647.
    int
    Minimum value for the int property in a range of -2,147,483,648..2,147,483,647
    int[]
    List of int values.
  • 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.
    • keys

      String[] keys
      List of keys. Each key must have a value entry.
      Returns:
      keys.
    • values

      int[] values
      List of int values. Each value must have a key entry and be within the minValue..maxValue range and conform to the optional regular expression.
      Returns:
      values.
    • minValue

      int minValue
      Minimum value for the int property in a range of -2,147,483,648..2,147,483,647
      Returns:
      int value.
    • maxValue

      int maxValue
      Maximum value for the int property in range of -2,147,483,648..2,147,483,647. Must be greater than the minValue.
      Returns:
      int value.
    • 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