|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConsolePanel
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.
| Method Summary | |
|---|---|
void |
createInstallationRecord(IXMLElement rootElement)
Create th auto-xml |
boolean |
generateOptions(InstallData installData,
Options options)
Generates a properties file for each input field or variable. |
boolean |
handlePanelValidationResult(boolean valid)
Do some user interaction on the console depending on the result of a panel validation. |
boolean |
run(InstallData installData,
Console console)
Runs the panel in an interactive console. |
boolean |
run(InstallData installData,
Properties properties)
Runs the panel using the supplied properties. |
| Method Detail |
|---|
boolean generateOptions(InstallData installData,
Options options)
installData - the installation dataoptions - the options file to write to
true if the generation is successful, otherwise false
boolean run(InstallData installData,
Properties properties)
installData - the installation dataproperties - the properties
true if the installation is successful, otherwise false
boolean run(InstallData installData,
Console console)
installData - the installation dataconsole - the console
true if the panel ran successfully, otherwise falsevoid createInstallationRecord(IXMLElement rootElement)
rootElement - boolean handlePanelValidationResult(boolean valid)
valid - whether the validation has been successful
DataValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||