Annotation Interface Prototype.Configured

Enclosing class:
Prototype

@Target(TYPE) @Retention(CLASS) public static @interface Prototype.Configured
A blueprint annotated with this annotation will create a prototype that can be created from a Config instance. The builder will also have a method config(Config) that reads all options annotated with Option.Configured from the config.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Root configuration this type is read from, if it is read from root.
  • Element Details

    • value

      String value
      Root configuration this type is read from, if it is read from root. Do not fill this otherwise (e.g. when nested in another configuration type).
      Returns:
      configuration key of this type, from the root of configuration
      Default:
      ""