public class Disconnect extends ConsoleCommand
LOGGER| Constructor and Description |
|---|
Disconnect(ConsoleIO consoleIO,
ConsoleState state,
Close close)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(boolean verbose)
Execute the command
|
void |
execute(String... parameters)
Execute the given parameters.
|
String |
getHelpLong()
Get long description
|
String |
getHelpShort()
Get short description, small enough to fit on one console row
|
String |
getName()
Get the name of the command
|
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedErrorpublic Disconnect(ConsoleIO consoleIO, ConsoleState state, Close close)
consoleIO - state - close - public String getName()
Helppublic String getHelpShort()
ConsoleCommandgetHelpShort in interface HelpgetHelpShort in class ConsoleCommandpublic String getHelpLong()
ConsoleCommandgetHelpLong in interface HelpgetHelpLong in class ConsoleCommandpublic void execute(boolean verbose)
verbose - public void execute(String... parameters) throws IOException
Commandexecute in interface Commandexecute in class ConsoleCommandparameters - parameters typed by userIOException - if a problem occurs reading or writingCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.