Interface ExtensionFeaturesInjector


  • public interface ExtensionFeaturesInjector
    Allow injecting features in extensions whiles they are loaded from a repository. This is useful for extension you don't control comming 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: 34b61b5446bc45960f48ee0992bdaeca75f2c01c $
    • Method Detail

      • 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