com.izforge.izpack.installer.console
Class NoOpConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.installer.console.NoOpConsolePanel
- All Implemented Interfaces:
- ConsolePanel
public abstract class NoOpConsolePanel
- extends AbstractConsolePanel
A dummy console panel implementation. It returns true for all operations.
Subclass from this to provide a dummy console implementation of an IzPanel.
- Author:
- Tim Anderson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpConsolePanel
public NoOpConsolePanel()
- Constructs a
NoOpConsolePanel.
run
public boolean run(InstallData installData,
Properties properties)
- Runs the panel using the supplied properties.
- Parameters:
installData - the installation dataproperties - 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 dataconsole - the console
- Returns:
true
Copyright © 2018. All rights reserved.