public class Close extends ConsoleCommand
LOGGER| Constructor and Description |
|---|
Close(ConsoleIO consoleIO,
ConsoleState state)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeRepository(boolean verbose)
Close repository
|
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
|
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedErrorpublic Close(ConsoleIO consoleIO, ConsoleState state)
consoleIO - state - public String getName()
Helppublic String getHelpShort()
ConsoleCommandgetHelpShort in interface HelpgetHelpShort in class ConsoleCommandpublic String getHelpLong()
ConsoleCommandgetHelpLong in interface HelpgetHelpLong in class ConsoleCommandpublic void execute(String... tokens)
Commandexecute in interface Commandexecute in class ConsoleCommandtokens - parameters typed by userprotected void closeRepository(boolean verbose)
verbose - print more informationCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.