com.izforge.izpack.panels.userinput
Class UserInputPanelAutomationHelper

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.UserInputPanelAutomationHelper
All Implemented Interfaces:
PanelAutomation

public class UserInputPanelAutomationHelper
extends Object
implements PanelAutomation

Functions to support automated usage of the UserInputPanel

Author:
Jonathan Halliday, Elmar Grom

Constructor Summary
UserInputPanelAutomationHelper()
          Default constructor, used during automated installation.
UserInputPanelAutomationHelper(List<? extends AbstractFieldView> views)
          Creates an UserInputPanelAutomationHelper
 
Method Summary
 void createInstallationRecord(InstallData installData, IXMLElement rootElement)
          Serialize state to XML and insert under panelRoot.
 void processOptions(InstallData installData, Overrides overrides)
           
 void runAutomated(InstallData idata, IXMLElement panelRoot)
          Deserialize state from panelRoot and set installData variables accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInputPanelAutomationHelper

public UserInputPanelAutomationHelper()
Default constructor, used during automated installation.


UserInputPanelAutomationHelper

public UserInputPanelAutomationHelper(List<? extends AbstractFieldView> views)
Creates an UserInputPanelAutomationHelper

Parameters:
views - AbstractFieldView
Method Detail

createInstallationRecord

public void createInstallationRecord(InstallData installData,
                                     IXMLElement rootElement)
Serialize state to XML and insert under panelRoot.

Specified by:
createInstallationRecord in interface PanelAutomation
Parameters:
installData - The installation installData GUI.
rootElement - The XML root element of the panels blackbox tree.

runAutomated

public void runAutomated(InstallData idata,
                         IXMLElement panelRoot)
                  throws InstallerException
Deserialize state from panelRoot and set installData variables accordingly.

Specified by:
runAutomated in interface PanelAutomation
Parameters:
idata - The installation installDataGUI.
panelRoot - The XML root element of the panels blackbox tree.
Throws:
InstallerException - if some elements are missing.

processOptions

public void processOptions(InstallData installData,
                           Overrides overrides)
Specified by:
processOptions in interface PanelAutomation


Copyright © 2018. All rights reserved.