com.izforge.izpack.panels.finish
Class FinishConsolePanel

java.lang.Object
  extended by com.izforge.izpack.installer.console.AbstractConsolePanel
      extended by com.izforge.izpack.panels.finish.FinishConsolePanel
All Implemented Interfaces:
ConsolePanel
Direct Known Subclasses:
SimpleFinishConsolePanel

public class FinishConsolePanel
extends AbstractConsolePanel

Console implementation of the FinishPanel.

Author:
Mounir el hajj

Constructor Summary
FinishConsolePanel(ObjectFactory factory, ConsoleInstaller parent, PlatformModelMatcher matcher, UninstallData uninstallData, Prompt prompt, PanelView<ConsolePanel> panel)
          Constructs an FinishConsolePanel.
FinishConsolePanel(PanelView<ConsolePanel> panel)
           
 
Method Summary
 boolean run(InstallData installData, Console console)
          Runs the panel using the specified console.
 boolean run(InstallData installData, Properties properties)
          Runs the panel using the supplied properties.
 
Methods inherited from class com.izforge.izpack.installer.console.AbstractConsolePanel
createInstallationRecord, generateOptions, getI18nStringForClass, getI18nStringForClass, getPanel, handlePanelValidationResult, printHeadLine, promptEndPanel, promptRerunPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinishConsolePanel

public FinishConsolePanel(ObjectFactory factory,
                          ConsoleInstaller parent,
                          PlatformModelMatcher matcher,
                          UninstallData uninstallData,
                          Prompt prompt,
                          PanelView<ConsolePanel> panel)
Constructs an FinishConsolePanel.

Parameters:
panel - the parent panel/view. May be null

FinishConsolePanel

public FinishConsolePanel(PanelView<ConsolePanel> panel)
Method Detail

run

public boolean run(InstallData installData,
                   Properties properties)
Runs the panel using the supplied properties.

Parameters:
installData - the installation data
properties - the properties
Returns:
true

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 data
console - the console
Returns:
true


Copyright © 2018. All rights reserved.