|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.installer.InstallerBase
com.izforge.izpack.installer.AutomatedInstaller
public class AutomatedInstaller
Runs the install process in text only (no GUI) mode.
| Field Summary | |
|---|---|
private AutomatedInstallData |
idata
The automated installation data. |
private java.util.TreeMap<java.lang.String,java.lang.Integer> |
panelInstanceCount
|
private boolean |
result
The result of the installation. |
| Fields inherited from class com.izforge.izpack.installer.InstallerBase |
|---|
LANG_FILE_NAME |
| Constructor Summary | |
|---|---|
AutomatedInstaller(java.lang.String inputFilename)
Constructing an instance triggers the install. |
|
| Method Summary | |
|---|---|
protected void |
doInstall()
Runs the automated installation logic for each panel in turn. |
boolean |
getResult()
Get the result of the installation. |
XMLElement |
getXMLData(java.io.File input)
Loads the xml data for the automated mode. |
private boolean |
writeUninstallData()
Writes the uninstalldata. |
| Methods inherited from class com.izforge.izpack.installer.InstallerBase |
|---|
addCustomLangpack, loadInstallData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.TreeMap<java.lang.String,java.lang.Integer> panelInstanceCount
private AutomatedInstallData idata
private boolean result
| Constructor Detail |
|---|
public AutomatedInstaller(java.lang.String inputFilename)
throws java.lang.Exception
inputFilename - Name of the file containing the installation data.
java.lang.Exception - Description of the Exception| Method Detail |
|---|
private boolean writeUninstallData()
AutomatedInstaller
and InstallerFrame can't share this code ... :-/
TODO: We should try to fix this in the future.
protected void doInstall()
throws java.lang.Exception
java.lang.Exception
public XMLElement getXMLData(java.io.File input)
throws java.lang.Exception
input - The file containing the installation data.
java.lang.Exception - thrown if there are problems reading the file.public boolean getResult()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||