| Constructor and Description |
|---|
ConsoleCommand(ConsoleIO consoleIO)
Constructor
|
ConsoleCommand(ConsoleIO consoleIO,
ConsoleState state)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String... parameters)
Execute the given parameters.
|
ConsoleIO |
getConsoleIO()
Get console IO
|
ConsoleState |
getConsoleState()
Get console state
|
String |
getHelpLong()
Get long description
|
String |
getHelpShort()
Get short description, small enough to fit on one console row
|
public ConsoleCommand(ConsoleIO consoleIO)
consoleIO - public ConsoleCommand(ConsoleIO consoleIO, ConsoleState state)
consoleIO - state - public ConsoleIO getConsoleIO()
public ConsoleState getConsoleState()
public String getHelpShort()
getHelpShort in interface Helppublic String getHelpLong()
getHelpLong in interface Helppublic void execute(String... parameters) throws IOException
Commandexecute in interface Commandparameters - parameters typed by userIOException - if a problem occurs reading or writingCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.