com.izforge.izpack.installer
Interface PanelAutomation

All Known Implementing Classes:
CompilePanelAutomationHelper, ImgPacksPanelAutomationHelper, InstallPanelAutomationHelper, PacksPanelAutomationHelper, ProcessPanelAutomationHelper, TargetPanelAutomationHelper, UserInputPanelAutomationHelper

public interface PanelAutomation

Defines the Interface that must be implemented for running Panels in automated (or "silent", "headless") install mode. Implementing classes MUST NOT link against awt/swing classes. Thus the Panels cannot implement this interface directly, they should use e.g. helper classes instead.

Author:
Jonathan Halliday, Julien Ponge
See Also:
AutomatedInstaller

Method Summary
 void makeXMLData(AutomatedInstallData installData, XMLElement panelRoot)
          Asks the panel to set its own XML data that can be brought back for an automated installation process.
 void runAutomated(AutomatedInstallData installData, XMLElement panelRoot)
          Makes the panel work in automated mode.
 

Method Detail

makeXMLData

public void makeXMLData(AutomatedInstallData installData,
                        XMLElement panelRoot)
Asks the panel to set its own XML data that can be brought back for an automated installation process. Use it as a blackbox if your panel needs to do something even in automated mode.

Parameters:
installData - The installation data
panelRoot - The XML root element of the panels blackbox tree.

runAutomated

public void runAutomated(AutomatedInstallData installData,
                         XMLElement panelRoot)
Makes the panel work in automated mode. Default is to do nothing, but any panel doing something 'effective' during the installation process should implement this method.

Parameters:
installData - The installation data
panelRoot - The XML root element of the panels blackbox tree.