APIdia Launch Partner
Top Description Methods
jdk.jpackage.internal.model

public Interface BundlingEnvironment

Known Direct Subinterfaces
jdk.jpackage.internal.cli.CliBundlingEnvironment
Imports
java.util.Collection, .List, .NoSuchElementException, .Optional

Bundling environment. Defines available bundling operations.

Method Summary

Modifier and TypeMethod and Description
public default Collection<? extends Exception>

Returns:

the list of configuration errors or an empty list if there are no such errors for the specified bundling operation
configurationErrors
(BundlingOperationDescriptor
the descriptor of the target bundling operation
op
)

Returns configuration errors or an empty list if there are no such errors for the target bundling operation.

public Optional<BundlingOperationDescriptor>

Returns:

the default bundling operation or an empty Optional instance if there is no such
defaultOperation
()

Returns descriptor of the default bundling operation if there is such or an empty Optional instance otherwise.

Method Detail

configurationErrorsback to summary
public default Collection<? extends Exception> configurationErrors(BundlingOperationDescriptor op)

Returns configuration errors or an empty list if there are no such errors for the target bundling operation.

Parameters
op:BundlingOperationDescriptor

the descriptor of the target bundling operation

Returns:Collection<? extends Exception>

the list of configuration errors or an empty list if there are no such errors for the specified bundling operation

Exceptions
NoSuchElementException:
if the specified descriptor denotes an unsupported bundling operation
defaultOperationback to summary
public Optional<BundlingOperationDescriptor> defaultOperation()

Returns descriptor of the default bundling operation if there is such or an empty Optional instance otherwise.

Returns:Optional<BundlingOperationDescriptor>

the default bundling operation or an empty Optional instance if there is no such