com.izforge.izpack.panels.userinput
Class UserInputConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.panels.userinput.UserInputConsolePanel
- All Implemented Interfaces:
- ConsolePanel
public class UserInputConsolePanel
- extends AbstractConsolePanel
The user input panel console implementation.
- Author:
- Mounir El Hajj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserInputConsolePanel
public UserInputConsolePanel(Resources resources,
ObjectFactory factory,
RulesEngine rules,
PlatformModelMatcher matcher,
Console console,
Prompt prompt,
PanelView<ConsolePanel> panelView,
InstallData installData)
- Constructs an
UserInputConsolePanel.
- Parameters:
resources - the resourcesfactory - the object factoryrules - the rulesmatcher - the platform-model matcherconsole - the consoleprompt - the promptpanelView - the parent panel/viewinstallData - the install data
run
public boolean run(InstallData installData,
Properties properties)
generateOptions
public boolean generateOptions(InstallData installData,
Options options)
- Specified by:
generateOptions in interface ConsolePanel- Overrides:
generateOptions in class AbstractConsolePanel
run
public boolean run(InstallData installData,
Console console)
- Runs the panel using the specified console.
- Specified by:
run in interface ConsolePanel- Overrides:
run in class AbstractConsolePanel
- Parameters:
installData - the installation dataconsole - the console
- Returns:
true if the panel ran successfully, otherwise false
createInstallationRecord
public void createInstallationRecord(IXMLElement rootElement)
- Creates an installation record for unattended installations on
UserInputPanel,
created during GUI installations.
- Specified by:
createInstallationRecord in interface ConsolePanel- Overrides:
createInstallationRecord in class AbstractConsolePanel
handlePanelValidationResult
public boolean handlePanelValidationResult(boolean valid)
- Specified by:
handlePanelValidationResult in interface ConsolePanel- Overrides:
handlePanelValidationResult in class AbstractConsolePanel
Copyright © 2018. All rights reserved.