|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.installer.PanelAutomationHelper
com.izforge.izpack.panels.InstallPanelAutomationHelper
public class InstallPanelAutomationHelper
Functions to support automated usage of the InstallPanel
| Field Summary | |
|---|---|
private int |
noOfPacks
|
| Fields inherited from interface com.izforge.izpack.util.AbstractUIHandler |
|---|
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL |
| Constructor Summary | |
|---|---|
InstallPanelAutomationHelper()
|
|
| Method Summary | |
|---|---|
void |
makeXMLData(AutomatedInstallData installData,
IXMLElement panelRoot)
Null op - this panel type has no state to serialize. |
void |
nextStep(java.lang.String packName,
int stepno,
int stepsize)
Reports progress to System.out |
void |
progress(int val,
java.lang.String msg)
Null op. |
void |
runAutomated(AutomatedInstallData idata,
IXMLElement panelRoot)
Perform the installation actions. |
void |
setSubStepNo(int no_of_substeps)
Set the number of substeps. |
void |
startAction(java.lang.String name,
int no_of_steps)
Reports progress on System.out |
void |
stopAction()
Sets state variable for thread sync. |
| Methods inherited from class com.izforge.izpack.installer.PanelAutomationHelper |
|---|
askQuestion, askQuestion, emitError, emitErrorAndBlockNext, emitNotification, emitWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.izforge.izpack.util.AbstractUIHandler |
|---|
askQuestion, askQuestion, emitError, emitErrorAndBlockNext, emitNotification, emitWarning |
| Field Detail |
|---|
private int noOfPacks
| Constructor Detail |
|---|
public InstallPanelAutomationHelper()
| Method Detail |
|---|
public void makeXMLData(AutomatedInstallData installData,
IXMLElement panelRoot)
makeXMLData in interface PanelAutomationinstallData - unused.panelRoot - unused.
public void runAutomated(AutomatedInstallData idata,
IXMLElement panelRoot)
throws InstallerException
runAutomated in interface PanelAutomationpanelRoot - The panel XML tree root.idata - The installation data
InstallerException - if the automated work failed critically.
public void startAction(java.lang.String name,
int no_of_steps)
startAction in interface AbstractUIProgressHandlername - The name of the action.no_of_steps - The number of steps the action consists of.AbstractUIProgressHandler.startAction(String, int)public void stopAction()
stopAction in interface AbstractUIProgressHandlerAbstractUIProgressHandler.stopAction()
public void progress(int val,
java.lang.String msg)
progress in interface AbstractUIProgressHandlerval - msg - AbstractUIProgressHandler.progress(int, String)
public void nextStep(java.lang.String packName,
int stepno,
int stepsize)
nextStep in interface AbstractUIProgressHandlerpackName - The currently installing pack.stepno - The number of the packstepsize - unusedAbstractUIProgressHandler.nextStep(String, int, int)public void setSubStepNo(int no_of_substeps)
setSubStepNo in interface AbstractUIProgressHandlerno_of_substeps - The number of substeps.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||