Class Installer


  • public class Installer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int error  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createUnitFile()
      [Linux] Creates a systemd unit file
      int getResponseCode()
      Returns if the installation was successful (0 = successful, <0 = error)
      protected java.lang.String getVersionOfProgramm()
      Gibt die zu herunterladende Version des Programms aus
      void installProgramm​(java.lang.String[] args)
      Starts the installation of the program
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • error

        public int error
    • Method Detail

      • installProgramm

        public void installProgramm​(java.lang.String[] args)
        Starts the installation of the program
        Parameters:
        args - If the program has to be restarted you can specify here the parameters with which the program should been restarted. These are normally the parameters which were specified when launching your installer
      • createUnitFile

        public void createUnitFile()
        [Linux] Creates a systemd unit file
      • getVersionOfProgramm

        protected java.lang.String getVersionOfProgramm()
        Gibt die zu herunterladende Version des Programms aus
        Returns:
        den entsprechenden Dateinamen (z.B. windows_x64, linux_arm64)
      • getResponseCode

        public int getResponseCode()
        Returns if the installation was successful (0 = successful, <0 = error)
        Returns:
        the error code