com.izforge.izpack.installer.automation
Class AutomatedInstaller

java.lang.Object
  extended by com.izforge.izpack.installer.automation.AutomatedInstaller
All Implemented Interfaces:
InstallerBase

public class AutomatedInstaller
extends Object
implements InstallerBase

Runs the install process in text only (no GUI) mode.

Author:
Jonathan Halliday , Julien Ponge , Johannes Lehtinen

Constructor Summary
AutomatedInstaller(AutomatedPanels panels, AutomatedInstallData installData, Locales locales, RequirementsChecker requirements, UninstallDataWriter uninstallDataWriter, Housekeeper housekeeper)
          Constructs an AutomatedInstaller.
 
Method Summary
 void doInstall()
          Runs the automated installation logic for each panel in turn.
 void init(String inputFilename, String mediaPath, String[] args)
          Initialize the automated installer.
 void writeInstallationRecord(File file, UninstallData uninstallData)
          Write the automatic installation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomatedInstaller

public AutomatedInstaller(AutomatedPanels panels,
                          AutomatedInstallData installData,
                          Locales locales,
                          RequirementsChecker requirements,
                          UninstallDataWriter uninstallDataWriter,
                          Housekeeper housekeeper)
Constructs an AutomatedInstaller.

Parameters:
panels - the panels
installData - the installation data
locales - the supported locales
requirements - the installation requirements checker
uninstallDataWriter - the uninstallation data writer
housekeeper - the house-keeper
Method Detail

init

public void init(String inputFilename,
                 String mediaPath,
                 String[] args)
          throws Exception
Initialize the automated installer.

Parameters:
inputFilename - the name of the file containing the installation data
mediaPath - the multi-volume media directory. May be null
Throws:
Exception

doInstall

public void doInstall()
               throws Exception
Runs the automated installation logic for each panel in turn.

Throws:
Exception

writeInstallationRecord

public void writeInstallationRecord(File file,
                                    UninstallData uninstallData)
                             throws Exception
Description copied from interface: InstallerBase
Write the automatic installation

Specified by:
writeInstallationRecord in interface InstallerBase
Throws:
Exception


Copyright © 2018. All rights reserved.