Plugin Modules that Cannot be Disabled
Atlassian Plugin Framework 2.5 and later.
Plugin modules marked with the
@CannotDisable annotation cannot be disabled dynamically unless the entire plugin is disabled. The
@CannotDisable annotation is inherited, so any custom
ModuleDescriptor that subclasses
ModuleDescriptor types annotated with
@CannotDisable also cannot be disabled. In Atlassian Plugin Framework 2.5 and later, component and component import modules and their subclasses cannot be disabled.