Annotation Interface ConfigReloadable
Marks which sections of a config can be hot-reloaded.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether to trigger reload listeners on change.String[]List of section paths that can be reloaded.
-
Element Details
-
sections
String[] sectionsList of section paths that can be reloaded. Empty array means all sections can be reloaded.- Returns:
- array of reloadable sections
- Default:
{}
-
notifyOnChange
boolean notifyOnChangeWhether to trigger reload listeners on change.- Returns:
- true to trigger listeners
- Default:
true
-