com.izforge.izpack.panels
Class ProcessPanelAutomationHelper
java.lang.Object
com.izforge.izpack.installer.PanelAutomationHelper
com.izforge.izpack.panels.ProcessPanelAutomationHelper
- All Implemented Interfaces:
- PanelAutomation, AbstractUIHandler, AbstractUIProcessHandler
public class ProcessPanelAutomationHelper
- extends PanelAutomationHelper
- implements PanelAutomation, AbstractUIProcessHandler
Functions to support automated usage of the CompilePanel
- Author:
- Jonathan Halliday, Tino Schwarze
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
worker
private ProcessPanelWorker worker
noOfJobs
private int noOfJobs
currentJob
private int currentJob
ProcessPanelAutomationHelper
public ProcessPanelAutomationHelper()
makeXMLData
public void makeXMLData(AutomatedInstallData installData,
XMLElement panelRoot)
- Save data for running automated.
- Specified by:
makeXMLData
in interface PanelAutomation
- Parameters:
installData
- installation parameterspanelRoot
- unused.
runAutomated
public void runAutomated(AutomatedInstallData idata,
XMLElement panelRoot)
- Perform the installation actions.
- Specified by:
runAutomated
in interface PanelAutomation
- Parameters:
panelRoot
- The panel XML tree root.idata
- The installation data
logOutput
public void logOutput(java.lang.String message,
boolean stderr)
- Description copied from interface:
AbstractUIProcessHandler
- Log the given message.
- Specified by:
logOutput
in interface AbstractUIProcessHandler
stderr
- true if this is a message received from a program via stderr
startProcessing
public void startProcessing(int noOfJobs)
- Reports progress on System.out
- Specified by:
startProcessing
in interface AbstractUIProcessHandler
- See Also:
AbstractUIProcessHandler.startProcessing(int)
finishProcessing
public void finishProcessing()
- Specified by:
finishProcessing
in interface AbstractUIProcessHandler
- See Also:
AbstractUIProcessHandler.finishProcessing()
startProcess
public void startProcess(java.lang.String name)
- Description copied from interface:
AbstractUIProcessHandler
- Notify the user that a process has started.
- Specified by:
startProcess
in interface AbstractUIProcessHandler
finishProcess
public void finishProcess()
- Specified by:
finishProcess
in interface AbstractUIProcessHandler