com.izforge.izpack.installer
Interface PanelConsole

All Known Implementing Classes:
ExtendedInstallPanelConsoleHelper, FinishPanelConsoleHelper, HelloPanelConsoleHelper, HTMLLicencePanelConsoleHelper, InstallPanelConsoleHelper, JDKPathPanelConsoleHelper, LicencePanelConsoleHelper, PacksPanelConsoleHelper, ProcessPanelConsoleHelper, TargetPanelConsoleHelper, UserInputPanelConsoleHelper

public interface PanelConsole

Defines the Interface that must be implemented for running Panels in console 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:
Mounir El Hajj

Method Summary
 boolean runConsole(AutomatedInstallData installData)
          Asks the panel to run in interactive console mode
 boolean runConsoleFromPropertiesFile(AutomatedInstallData installData, java.util.Properties p)
          Asks the panel to run and do its work, given a set of properties to use as variables
 boolean runGeneratePropertiesFile(AutomatedInstallData installData, java.io.PrintWriter printWriter)
          Asks the panel to return all inputed fields/variables in a string with a properties file style
 

Method Detail

runGeneratePropertiesFile

boolean runGeneratePropertiesFile(AutomatedInstallData installData,
                                  java.io.PrintWriter printWriter)
Asks the panel to return all inputed fields/variables in a string with a properties file style

Parameters:
installData - The installation data

runConsoleFromPropertiesFile

boolean runConsoleFromPropertiesFile(AutomatedInstallData installData,
                                     java.util.Properties p)
Asks the panel to run and do its work, given a set of properties to use as variables

Parameters:
installData - The installation data
p - The the properties

runConsole

boolean runConsole(AutomatedInstallData installData)
Asks the panel to run in interactive console mode

Parameters:
installData - The installation data *