Interface BundlingEnvironment

All Known Subinterfaces:
CliBundlingEnvironment
All Known Implementing Classes:
LinuxBundlingEnvironment, MacBundlingEnvironment, WinBundlingEnvironment

public interface BundlingEnvironment
Bundling environment. Defines available bundling operations.
  • Method Details

    • defaultOperation

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

      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 - 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