Plugin Modules that Cannot be Disabled

Available:

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.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport