com.izforge.izpack.panels
Class ValidatePackSelectionsAutomationHelper

java.lang.Object
  extended bycom.izforge.izpack.panels.ValidatePackSelectionsAutomationHelper
All Implemented Interfaces:
com.izforge.izpack.installer.PanelAutomation

public class ValidatePackSelectionsAutomationHelper
extends Object
implements com.izforge.izpack.installer.PanelAutomation

Functions to support automated usage of the UserInputPanel

Author:
Jonathan Halliday, Elmar Grom

Constructor Summary
ValidatePackSelectionsAutomationHelper()
           
ValidatePackSelectionsAutomationHelper(Map entries, String panelName)
           
 
Method Summary
 void makeXMLData(com.izforge.izpack.installer.AutomatedInstallData idata, net.n3.nanoxml.XMLElement panelRoot)
          Serialize state to XML and insert under panelRoot.
 void runAutomated(com.izforge.izpack.installer.AutomatedInstallData idata, net.n3.nanoxml.XMLElement panelRoot)
          Deserialize state from panelRoot and set idata variables accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatePackSelectionsAutomationHelper

public ValidatePackSelectionsAutomationHelper()

ValidatePackSelectionsAutomationHelper

public ValidatePackSelectionsAutomationHelper(Map entries,
                                              String panelName)
Parameters:
entries - String-String key-value pairs representing the state of the Panel
Method Detail

makeXMLData

public void makeXMLData(com.izforge.izpack.installer.AutomatedInstallData idata,
                        net.n3.nanoxml.XMLElement panelRoot)
Serialize state to XML and insert under panelRoot.

Specified by:
makeXMLData in interface com.izforge.izpack.installer.PanelAutomation
Parameters:
idata - The installation data.
panelRoot - The XML root element of the panels blackbox tree.

runAutomated

public void runAutomated(com.izforge.izpack.installer.AutomatedInstallData idata,
                         net.n3.nanoxml.XMLElement panelRoot)
Deserialize state from panelRoot and set idata variables accordingly.

Specified by:
runAutomated in interface com.izforge.izpack.installer.PanelAutomation
Parameters:
idata - The installation data.
panelRoot - The XML root element of the panels blackbox tree.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.