Package com.atlassian.plugin.manager
Class SafeModuleExtractor
java.lang.Object
com.atlassian.plugin.manager.SafeModuleExtractor
Safely extracts the module instance from module descriptors,
handling exceptions and disabling broken plugins as appropriate.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<M> List<M>getModules(Iterable<? extends ModuleDescriptor<M>> moduleDescriptors) Safely extracts the module instance from the given module descriptors.
-
Constructor Details
-
SafeModuleExtractor
-
-
Method Details
-
getModules
Safely extracts the module instance from the given module descriptors. This method will disable any plugin it can't successfully extract the module instance from.
-