Annotation Interface ConfigDir


@Retention(RUNTIME) @Target({PARAMETER,FIELD}) public @interface ConfigDir
Provides an convenient injection for ConfigRoot.directory().

Use this annotation on a Path. Remember that Inject is also necessary.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    boolean
    Whether the the shared root for configuration should be used, or instead, the plugin-specific configuration directory.
  • Element Details

    • sharedRoot

      boolean sharedRoot
      Whether the the shared root for configuration should be used, or instead, the plugin-specific configuration directory.
      Returns:
      True to use a shared root configuration
      See Also: