Package rife.bld.operations
Class JlinkOperation
java.lang.Object
rife.bld.operations.AbstractOperation<AbstractToolProviderOperation<T>>
rife.bld.operations.AbstractToolProviderOperation<JlinkOperation>
rife.bld.operations.JlinkOperation
Create run-time images using the jlink tool.
- Since:
- 2.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class rife.bld.operations.AbstractToolProviderOperation
AbstractToolProviderOperation.CommandLineTokenizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisablePlugin
(String... plugins) Disable the plugin(s) mentioned.disablePlugin
(List<String> plugins) Disable the plugin(s) mentioned.void
execute()
Runs an instance of the tool.Retrieves the list of options for the jlink tool.jlinkOptions
(Map<String, String> options) Provides a list of options to provide to the jlink tool.Methods inherited from class rife.bld.operations.AbstractToolProviderOperation
cmdFiles, cmdFiles, cmdFiles, cmdFiles, cmdFiles, cmdFilesPaths, cmdFilesStrings, toolArgs, toolArgs, toolArgs, toolArgs, toolArgsFromFiles
Methods inherited from class rife.bld.operations.AbstractOperation
executeOnce, executeOnce, silent, silent
-
Constructor Details
-
JlinkOperation
public JlinkOperation()
-
-
Method Details
-
disablePlugin
Disable the plugin(s) mentioned.- Parameters:
plugins
- the plugin name(s)- Returns:
- this map of options
-
disablePlugin
Disable the plugin(s) mentioned.- Parameters:
plugins
- the plugin name(s)- Returns:
- this map of options
-
execute
Description copied from class:AbstractToolProviderOperation
Runs an instance of the tool.On success, command line arguments are automatically cleared.
- Overrides:
execute
in classAbstractToolProviderOperation<JlinkOperation>
- Throws:
Exception
- if an error occurred
-
jlinkOptions
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
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
-