Class BasicBundlers
java.lang.Object
jdk.jpackage.internal.BasicBundlers
- All Implemented Interfaces:
Bundlers
BasicBundlers
A basic bundlers collection that loads the default bundlers.
Loads the common bundlers.
- Windows file image
- Mac .app
- Linux file image
- Windows MSI
- Windows EXE
- Mac DMG
- Mac PKG
- Linux DEB
- Linux RPM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all of the preconfigured, requested, and manually configured bundlers loaded with this instance.getBundlers
(String type) Returns all of the preconfigured, requested, and manually configured bundlers loaded with this instance that are of a specific BundleType, such as disk images, installers, or remote installers.void
Loads bundlers from the META-INF/services directly.
-
Constructor Details
-
BasicBundlers
public BasicBundlers()
-
-
Method Details
-
getBundlers
Description copied from interface:Bundlers
Returns all of the preconfigured, requested, and manually configured bundlers loaded with this instance.- Specified by:
getBundlers
in interfaceBundlers
- Returns:
- a read-only collection of the requested bundlers
-
getBundlers
Description copied from interface:Bundlers
Returns all of the preconfigured, requested, and manually configured bundlers loaded with this instance that are of a specific BundleType, such as disk images, installers, or remote installers.- Specified by:
getBundlers
in interfaceBundlers
- Returns:
- a read-only collection of the requested bundlers
-
loadBundlersFromServices
Description copied from interface:Bundlers
Loads bundlers from the META-INF/services directly. This method is called from theBundlers.createBundlersInstance(ClassLoader)
andBundlers.createBundlersInstance()
methods.- Specified by:
loadBundlersFromServices
in interfaceBundlers
-