Package rife.bld.operations
Class JmodOperation
Create JMOD files with the jmod tool.
- Since:
- 2.1.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class rife.bld.operations.AbstractToolProviderOperation
AbstractToolProviderOperation.CommandLineTokenizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Runs an instance of the tool.jmodFile()
Retrieves the name of the JMOD file to create or from which to retrieve information.Specifies name of the JMOD file to create or from which to retrieve information.Specifies name of the JMOD file to create or from which to retrieve information.Specifies name of the JMOD file to create or from which to retrieve information.Retrieves the list of options for the jmod tool.jmodOptions
(Map<String, String> options) Provides a list of options to provide to the jmod tool.Provides theoperation mode
.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
-
JmodOperation
public JmodOperation()
-
-
Method Details
-
execute
Description copied from class:AbstractToolProviderOperation
Runs an instance of the tool.On success, command line arguments are automatically cleared.
- Overrides:
execute
in classAbstractToolProviderOperation<JmodOperation>
- Throws:
Exception
- if an error occurred
-
jmodFile
Retrieves the name of the JMOD file to create or from which to retrieve information.- Returns:
- the JMOD file
-
jmodFile
Specifies name of the JMOD file to create or from which to retrieve information.The JMOD file is required.
- Parameters:
file
- the JMOD file- Returns:
- this operation instance
-
jmodFile
Specifies name of the JMOD file to create or from which to retrieve information.The JMOD file is required.
- Parameters:
file
- the JMOD file- Returns:
- this operation instance
-
jmodFile
Specifies name of the JMOD file to create or from which to retrieve information.The JMOD file is required.
- Parameters:
file
- the JMOD file- Returns:
- this operation instance
-
jmodOptions
Retrieves the list of options for the jmod tool.This is a modifiable list that can be retrieved and changed.
- Returns:
- the map of jmod options
-
jmodOptions
Provides a list of options to provide to the jmod tool.A copy will be created to allow this list to be independently modifiable.
- Parameters:
options
- the list of jmod options- Returns:
- this operation instance
-
operationMode
Provides theoperation mode
.The operation mode is required.
- Parameters:
mode
- the mode- Returns:
- this operation instance
-