com.izforge.izpack.installer
Class AutomatedInstaller
java.lang.Object
com.izforge.izpack.installer.InstallerBase
com.izforge.izpack.installer.AutomatedInstaller
- public class AutomatedInstaller
- extends InstallerBase
Runs the install process in text only (no GUI) mode.
- Author:
- Jonathan Halliday , Julien Ponge , Johannes Lehtinen
Constructor Summary |
AutomatedInstaller(java.lang.String inputFilename)
Constructing an instance triggers the install. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
panelInstanceCount
private java.util.TreeMap panelInstanceCount
AutomatedInstaller
public AutomatedInstaller(java.lang.String inputFilename)
throws java.lang.Exception
- Constructing an instance triggers the install.
- Parameters:
inputFilename
- Name of the file containing the installation data.
- Throws:
java.lang.Exception
- Description of the Exception
doInstall
private void doInstall(AutomatedInstallData installdata)
throws java.lang.Exception
- Runs the automated installation logic for each panel in turn.
- Parameters:
installdata
- the installation data.
- Throws:
java.lang.Exception
getXMLData
public XMLElement getXMLData(java.io.File input)
throws java.lang.Exception
- Loads the xml data for the automated mode.
- Parameters:
input
- The file containing the installation data.
- Throws:
java.lang.Exception
- thrown if there are problems reading the file.