public class Drop extends ConsoleCommand
Constructor and Description |
---|
Drop(ConsoleIO consoleIO,
ConsoleState state,
Close close)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute(String... tokens)
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
|
convertParams, getConsoleIO, getConsoleState
public Drop(ConsoleIO consoleIO, ConsoleState state, Close close)
consoleIO
- state
- close
- public String getName()
Help
public String getHelpShort()
ConsoleCommand
getHelpShort
in interface Help
getHelpShort
in class ConsoleCommand
public String getHelpLong()
ConsoleCommand
getHelpLong
in interface Help
getHelpLong
in class ConsoleCommand
public void execute(String... tokens) throws IOException
Command
execute
in interface Command
execute
in class ConsoleCommand
tokens
- parameters typed by userIOException
- if a problem occurs reading or writingCopyright © 2015-2019 Eclipse Foundation. All Rights Reserved.