Interface BundlingEnvironment
- All Known Subinterfaces:
CliBundlingEnvironment
- All Known Implementing Classes:
LinuxBundlingEnvironment,MacBundlingEnvironment,WinBundlingEnvironment
public interface BundlingEnvironment
Bundling environment. Defines available bundling operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<? extends Exception> Returns configuration errors or an empty list if there are no such errors for the target bundling operation.Returns descriptor of the default bundling operation if there is such or an emptyOptionalinstance otherwise.
-
Method Details
-
defaultOperation
Optional<BundlingOperationDescriptor> defaultOperation()Returns descriptor of the default bundling operation if there is such or an emptyOptionalinstance otherwise.- Returns:
- the default bundling operation or an empty
Optionalinstance if there is no such
-
configurationErrors
Returns configuration errors or an empty list if there are no such errors for the target bundling operation.- 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
- Throws:
NoSuchElementException- if the specified descriptor denotes an unsupported bundling operation
-