Interface ExtensionFeaturesInjector


public interface ExtensionFeaturesInjector
Allow injecting features in extensions whiles they are loaded from a repository. This is useful for extensions you don't control, coming from various repositories. A good example is various group ids (npm, bower, classic) used for webjar extensions which are the same thing from XWiki point of view.
Since:
10.2
Version:
$Id: ed470e874891a37b804012b147c39cf4a4d1945a $
  • Method Details

    • getFeatures

      Collection<ExtensionId> getFeatures(Extension extension)
      Parameters:
      extension - the extension for which to inject additional features
      Returns:
      the additional features that should be added to this extension