public class Console extends Object
| Constructor and Description | 
|---|
| Console()Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| ConsoleIO | getConsoleIO()Get console IO | 
| ConsoleState | getState()Get console state | 
| static void | main(String[] args)Main | 
| void | register(ConsoleCommand cmd)Add command to register of known commands | 
| void | register(ConsoleSetting setting)Add setting to register of known settings | 
| protected void | setExitOnError(boolean mode)Set exit on error mode | 
| void | start()Start the interactive console, return error code on exit | 
public Console()
        throws IOException
IOExceptionpublic ConsoleState getState()
public ConsoleIO getConsoleIO()
protected void setExitOnError(boolean mode)
mode - true when error should exitpublic static void main(String[] args) throws IOException
args - command line argumentsIOExceptionpublic final void register(ConsoleCommand cmd)
cmd - command to be addedpublic final void register(ConsoleSetting setting)
setting - setting to be addedpublic void start()
           throws IOException
IOExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.