Package org.xwiki.extension
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ExtensionId>
getFeatures(Extension extension)
-
-
-
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
-
-