Annotation Interface FolderConfigName


@Retention(RUNTIME) @Target({FIELD,PARAMETER,METHOD}) public @interface FolderConfigName
Specifies the folder config name for injecting a FolderConfigRef.

Use this annotation to disambiguate when multiple folder configs of the same item type exist. If only one folder config exists for the item type, this annotation is optional.

Example usage:

 @FolderConfigName("admin_boosters")
 private FolderConfigRef<Booster> adminBoosters;

 @FolderConfigName("user_boosters")
 private FolderConfigRef<Booster> userBoosters;
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The folder config name to select.
  • Element Details

    • value

      String value
      The folder config name to select.
      Returns:
      the folder config name