Annotation Interface ConfigProperty


@Target(FIELD) @Retention(RUNTIME) public @interface ConfigProperty
Since:
02.04.2017
  • Element Details

    • name

      String name
      Returns:
      Property name
    • value

      String value
      Returns:
      Property value
      Default:
      ""
    • values

      String[] values
      Returns:
      Property map values
      Default:
      {""}
    • splitter

      String splitter
      Returns:
      Splitter character using for array-type properties
      Default:
      ","
    • minValue

      long minValue
      Returns:
      Numerical property min value
      Default:
      -9223372036854775808L
    • maxValue

      long maxValue
      Returns:
      Numerical property max value
      Default:
      9223372036854775807L
    • isMap

      boolean isMap
      Returns:
      Is property having map structure
      Default:
      false
    • isLoadFromFile

      boolean isLoadFromFile
      Returns:
      true if property must be loaded from the file, false otherwise
      Default:
      true
    • isReloadable

      boolean isReloadable
      Returns:
      true if config value can be reloaded at runtime, false otherwise
      Default:
      true