Class JlinkOperation


public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation>
Create run-time images using the jlink tool.
Since:
2.1.0
  • Constructor Details

    • JlinkOperation

      public JlinkOperation()
  • Method Details

    • disablePlugin

      public JlinkOperation disablePlugin(List<String> plugins)
      Disable the plugin(s) mentioned.
      Parameters:
      plugins - the plugin name(s)
      Returns:
      this map of options
    • disablePlugin

      public JlinkOperation disablePlugin(String... plugins)
      Disable the plugin(s) mentioned.
      Parameters:
      plugins - the plugin name(s)
      Returns:
      this map of options
    • execute

      public void execute() throws Exception
      Description copied from class: AbstractToolProviderOperation
      Runs an instance of the tool.

      On success, command line arguments are automatically cleared.

      Overrides:
      execute in class AbstractToolProviderOperation<JlinkOperation>
      Throws:
      Exception - if an error occurred
    • jlinkOptions

      public JlinkOperation jlinkOptions(Map<String,String> options)
      Provides a list of options to provide to the jlink tool.

      A copy will be created to allow this list to be independently modifiable.

      Parameters:
      options - the argument-value pairs
      Returns:
      this operation instance
    • jlinkOptions

      public JlinkOptions jlinkOptions()
      Retrieves the list of options for the jlink tool.

      This is a modifiable list that can be retrieved and changed.

      Returns:
      the map of jlink options