public class Open extends ConsoleCommand
LOGGER| Constructor and Description |
|---|
Open(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
|
void |
openRepository(String repoID)
Open a repository
|
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedErrorpublic Open(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(String... tokens)
Commandexecute in interface Commandexecute in class ConsoleCommandtokens - parameters typed by userpublic void openRepository(String repoID)
repoID - repository IDCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.