Package ru.akman.maven.plugins.jlink
Class Launcher
java.lang.Object
ru.akman.maven.plugins.jlink.Launcher
Launcher script.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
Get command (script) argument.Get command (script) name.Get Java runtime arguments.Get main class name.Get main module name.Get *nix template file.Get windows template file.void
Set command (script) arguments.void
setCommand
(String command) Set command (script) name.void
setJvmArgs
(String jvmargs) Set Java runtime arguments.void
setMainClass
(String mainclass) Set main class name.void
setMainModule
(String mainmodule) Set main module name.void
setNixTemplate
(File nixtemplate) Set *nix template file.void
setWinTemplate
(File wintemplate) Set windows template file.
-
Constructor Details
-
Launcher
public Launcher()
-
-
Method Details
-
getCommand
Get command (script) name.- Returns:
- the command (script) name without extension
-
setCommand
Set command (script) name.- Parameters:
command
- the name of command (script)
-
getMainModule
Get main module name.- Returns:
- the main module name
-
setMainModule
Set main module name.- Parameters:
mainmodule
- the name of main module
-
getMainClass
Get main class name.- Returns:
- the main class name
-
setMainClass
Set main class name.- Parameters:
mainclass
- the name of main class
-
getJvmArgs
Get Java runtime arguments.- Returns:
- the Java runtime arguments
-
setJvmArgs
Set Java runtime arguments.- Parameters:
jvmargs
- Java runtime arguments
-
getArgs
Get command (script) argument.- Returns:
- the command (script) arguments
-
setArgs
Set command (script) arguments.- Parameters:
args
- the command (script) arguments
-
getNixTemplate
Get *nix template file.- Returns:
- the *nix template file
-
setNixTemplate
Set *nix template file.- Parameters:
nixtemplate
- the *nix template file
-
getWinTemplate
Get windows template file.- Returns:
- the windows template file
-
setWinTemplate
Set windows template file.- Parameters:
wintemplate
- the windows template file
-