Interface JSBundle
- All Superinterfaces:
JSBundleObject
Represents an OSGi bundle containing NPM packages and modules.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the NPM packages provided by the OSGi bundle.getResourceURL(String location) Deprecated.As of Athanasius (7.3.x), with no direct replacementReturns the bundle's OSGi version.Methods inherited from interface com.liferay.frontend.js.loader.modules.extender.npm.JSBundleObject
getId, getName
-
Method Details
-
getJSPackages
Collection<JSPackage> getJSPackages()Returns the NPM packages provided by the OSGi bundle.- Returns:
- the NPM packages
-
getResourceURL
Deprecated.As of Athanasius (7.3.x), with no direct replacementReturns theURLof an OSGi bundle's resource.- Returns:
- the URL of an OSGi bundle's resource
-
getVersion
String getVersion()Returns the bundle's OSGi version.- Returns:
- the bundle's OSGi version
-