public interface FeatureActivator
features
, which will be loaded by the PluginsManager
.
Modifier and Type | Interface and Description |
---|---|
static class |
FeatureActivator.PluginsInformation
Helper class containing all relevant information after features list computation.
|
Modifier and Type | Method and Description |
---|---|
FeatureActivator.PluginsInformation |
computeActiveFeatures(Map<String,String> componentsConfig,
boolean safeMode)
Computes the actual plugins and features to load, based on values selected by the administrator.
This method does not actually load nor execute any Java code. |
String |
fullDump(FeatureActivator.PluginsInformation pluginInfo)
Dumps the given
FeatureActivator.PluginsInformation , in order to log in debug level. |
String |
shortDump(FeatureActivator.PluginsInformation pluginInfo)
Dumps the given
FeatureActivator.PluginsInformation , in order to log in info level. |
FeatureActivator.PluginsInformation computeActiveFeatures(Map<String,String> componentsConfig, boolean safeMode)
componentsConfig
- chosen components, among those with the same role.safeMode
- true
if application is in safe modeString fullDump(FeatureActivator.PluginsInformation pluginInfo)
FeatureActivator.PluginsInformation
, in order to log in debug level.pluginInfo
- The information about pluginsString shortDump(FeatureActivator.PluginsInformation pluginInfo)
FeatureActivator.PluginsInformation
, in order to log in info level.pluginInfo
- The information about plugins