public final class NodeMenu extends H2HConsoleMenu
ConsoleClient.config, isExpertMode, menus| Constructor and Description |
|---|
NodeMenu(MenuContainer menus) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMenuItems()
Enlists the
H2HConsoleMenuItems of this menu. |
protected void |
createItems()
Specifies the
H2HConsoleMenuItems of this menu. |
boolean |
createNetwork() |
String |
getInstruction() |
IH2HNode |
getNode() |
reset, setExpertModeadd, awaitBooleanParameter, awaitIntParameter, awaitStringParameter, exit, getExitItemText, onMenuExit, open, print, print, printError, printErrorpublic NodeMenu(MenuContainer menus)
protected void createItems()
ConsoleMenuH2HConsoleMenuItems of this menu.H2HConsoleMenuItems are specified here, as they might also be specified
in-line in ConsoleMenu.addMenuItems().H2HConsoleMenuItems with preconditions should be specified by this method.createItems in class ConsoleMenuprotected void addMenuItems()
ConsoleMenuH2HConsoleMenuItems of this menu.addMenuItems in class ConsoleMenupublic String getInstruction()
getInstruction in class ConsoleMenupublic IH2HNode getNode()
public boolean createNetwork()
Copyright © 2019. All rights reserved.