|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.console.ConsoleInstaller
public class ConsoleInstaller
Runs the console installer.
| Constructor Summary | |
|---|---|
ConsoleInstaller(ConsolePanels panels,
ConsoleInstallData installData,
UninstallDataWriter uninstallDataWriter,
Console console,
Housekeeper housekeeper)
Constructs a ConsoleInstaller |
|
| Method Summary | |
|---|---|
protected Console |
getConsole()
Returns the console. |
void |
run(ConsoleInstallerAction type,
String path,
String[] args)
Runs the installation. |
void |
setMediaPath(String path)
Sets the media path for multi-volume installations. |
protected void |
shutdown(boolean exitSuccess,
boolean reboot)
Shuts down the installer. |
protected void |
shutdown(boolean exitSuccess,
Console console)
Shuts down the installer, rebooting if necessary. |
protected void |
terminate(boolean exitSuccess,
boolean reboot)
Terminates the installation process. |
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 |
|---|
public ConsoleInstaller(ConsolePanels panels,
ConsoleInstallData installData,
UninstallDataWriter uninstallDataWriter,
Console console,
Housekeeper housekeeper)
panels - the panelsinstallData - the installation datauninstallDataWriter - the uninstallation data writerconsole - the consolehousekeeper - the house-keeper
IzPackException - for any IzPack error| Method Detail |
|---|
public void setMediaPath(String path)
path - the media path. May be null
public void run(ConsoleInstallerAction type,
String path,
String[] args)
System.exit(0) on successful installation, or
System.exit(1) on failure.
type - the type of the console action to performpath - the path to use for the action. May be null
protected void shutdown(boolean exitSuccess,
Console console)
exitSuccess - if true, exits with a 0 exit code, else exits with a 1 exit codeconsole - the console
protected void shutdown(boolean exitSuccess,
boolean reboot)
exitSuccess - if true, exits with a 0 exit code, else exits with a 1 exit codereboot - if true perform a reboot
protected void terminate(boolean exitSuccess,
boolean reboot)
exitSuccess - if true, exits with a 0 exit code, else exits with a 1 exit codereboot - if true perform a rebootprotected Console getConsole()
public void writeInstallationRecord(File file,
UninstallData uninstallData)
throws Exception
InstallerBase
writeInstallationRecord in interface InstallerBaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||