Package org.spongepowered.api.config
Annotation Type ConfigDir
- 
 @Retention(RUNTIME) @Target({PARAMETER,FIELD}) public @interface ConfigDirProvides an convenient injection forConfigRoot.directory().Use this annotation on a Path. Remember thatInjectis also necessary.
- 
- 
Required Element SummaryRequired Elements Modifier and Type Required Element Description booleansharedRootWhether the the shared root for configuration should be used, or instead, the plugin-specific configuration directory.
 
- 
- 
- 
Element Detail- 
sharedRootboolean 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:
- For information on what the shared root is
 
 
- 
 
-