com.izforge.izpack.panels.process
Class ProcessPanelAutomation
java.lang.Object
com.izforge.izpack.installer.automation.PanelAutomationHelper
com.izforge.izpack.panels.process.ProcessPanelAutomation
- All Implemented Interfaces:
- AbstractUIHandler, PanelAutomation, AbstractUIProcessHandler
public class ProcessPanelAutomation
- extends PanelAutomationHelper
- implements PanelAutomation, AbstractUIProcessHandler
Functions to support automated usage of the ProcessPanel.
- Author:
- Jonathan Halliday, Tino Schwarze
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessPanelAutomation
public ProcessPanelAutomation(InstallData installData,
RulesEngine rules,
Resources resources,
PlatformModelMatcher matcher)
- Constructs a ProcessPanelAutomationHelper.
- Parameters:
installData - the installation dataresources - the resourcesrules - the rulesmatcher - the platform-model matcher
createInstallationRecord
public void createInstallationRecord(InstallData idata,
IXMLElement panelRoot)
- Specified by:
createInstallationRecord in interface PanelAutomation
runAutomated
public void runAutomated(InstallData idata,
IXMLElement panelRoot)
throws InstallerException
- Specified by:
runAutomated in interface PanelAutomation
- Throws:
InstallerException
processOptions
public void processOptions(InstallData installData,
Overrides overrides)
- Specified by:
processOptions in interface PanelAutomation
logOutput
public void logOutput(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(boolean unlockPrev,
boolean unlockNext)
- Specified by:
finishProcessing in interface AbstractUIProcessHandler
- See Also:
AbstractUIProcessHandler.finishProcessing(boolean, boolean)
startProcess
public void startProcess(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
Copyright © 2018. All rights reserved.