Class MacBundlingEnvironment
java.lang.Object
jdk.jpackage.internal.MacBundlingEnvironment
- All Implemented Interfaces:
CliBundlingEnvironment,BundlingEnvironment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Exception> Returns configuration errors or an empty list if there are no such errors for the target bundling operation.voidcreateBundle(BundlingOperationDescriptor op, Options cmdline) Requests to run a bundling operation denoted with the given descriptor with the given values of command line options.Returns descriptor of the default bundling operation if there is such or an emptyOptionalinstance otherwise.
-
Constructor Details
-
MacBundlingEnvironment
public MacBundlingEnvironment()
-
-
Method Details
-
defaultOperation
Description copied from interface:BundlingEnvironmentReturns descriptor of the default bundling operation if there is such or an emptyOptionalinstance otherwise.- Specified by:
defaultOperationin interfaceBundlingEnvironment- Returns:
- the default bundling operation or an empty
Optionalinstance if there is no such
-
createBundle
Description copied from interface:CliBundlingEnvironmentRequests to run a bundling operation denoted with the given descriptor with the given values of command line options.- Specified by:
createBundlein interfaceCliBundlingEnvironment- Parameters:
op- the descriptor of the requested bundling operationcmdline- the validated values of the command line options
-
configurationErrors
Description copied from interface:BundlingEnvironmentReturns configuration errors or an empty list if there are no such errors for the target bundling operation.- Specified by:
configurationErrorsin interfaceBundlingEnvironment- Parameters:
op- the descriptor of the target bundling operation- Returns:
- the list of configuration errors or an empty list if there are no such errors for the specified bundling operation
-