Class Launcher

java.lang.Object
ru.akman.maven.plugins.jlink.Launcher

public class Launcher extends Object
Launcher script.
  • Constructor Details

    • Launcher

      public Launcher()
  • Method Details

    • getCommand

      public String getCommand()
      Get command (script) name.
      Returns:
      the command (script) name without extension
    • setCommand

      public void setCommand(String command)
      Set command (script) name.
      Parameters:
      command - the name of command (script)
    • getMainModule

      public String getMainModule()
      Get main module name.
      Returns:
      the main module name
    • setMainModule

      public void setMainModule(String mainmodule)
      Set main module name.
      Parameters:
      mainmodule - the name of main module
    • getMainClass

      public String getMainClass()
      Get main class name.
      Returns:
      the main class name
    • setMainClass

      public void setMainClass(String mainclass)
      Set main class name.
      Parameters:
      mainclass - the name of main class
    • getJvmArgs

      public String getJvmArgs()
      Get Java runtime arguments.
      Returns:
      the Java runtime arguments
    • setJvmArgs

      public void setJvmArgs(String jvmargs)
      Set Java runtime arguments.
      Parameters:
      jvmargs - Java runtime arguments
    • getArgs

      public String getArgs()
      Get command (script) argument.
      Returns:
      the command (script) arguments
    • setArgs

      public void setArgs(String args)
      Set command (script) arguments.
      Parameters:
      args - the command (script) arguments
    • getNixTemplate

      public File getNixTemplate()
      Get *nix template file.
      Returns:
      the *nix template file
    • setNixTemplate

      public void setNixTemplate(File nixtemplate)
      Set *nix template file.
      Parameters:
      nixtemplate - the *nix template file
    • getWinTemplate

      public File getWinTemplate()
      Get windows template file.
      Returns:
      the windows template file
    • setWinTemplate

      public void setWinTemplate(File wintemplate)
      Set windows template file.
      Parameters:
      wintemplate - the windows template file