Annotation Type ConfDefault.DefaultMap

Enclosing class:
ConfDefault

@Retention(RUNTIME) @Target(METHOD) public static @interface ConfDefault.DefaultMap
Specifies the default value as a map. The values of this annotation must be in the form of paired key and value strings. Therefore the length of the array would be even.

For example, @DefaultMap({"key1", "true", "key2", "15"}) translates to the same Map as Map.of("key1", true, "key2", 15)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details