Class ExcludePolicyFeatureActivator

java.lang.Object
org.ametys.runtime.plugin.AbstractFeatureActivator
org.ametys.runtime.plugin.ExcludePolicyFeatureActivator
All Implemented Interfaces:
FeatureActivator

Default FeatureActivator which activates all non-passive and non-excluded features.
  • Constructor Details

  • Method Details

    • computeActiveFeatures

      public FeatureActivator.PluginsInformation computeActiveFeatures(Map<String,String> componentsConfig, boolean safeMode)
      Description copied from interface: FeatureActivator
      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. It reads plugins definitions, selects active features and gets components and extensions definitions.
      Parameters:
      componentsConfig - chosen components, among those with the same role.
      safeMode - true if application is in safe mode
      Returns:
      all information gathered during plugins reading.
    • shortDump

      Description copied from interface: FeatureActivator
      Dumps the given FeatureActivator.PluginsInformation, in order to log in info level.
      Parameters:
      pluginInfo - The information about plugins
      Returns:
      The string to display in info level