public class PrintHelp extends ConsoleCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
USAGE |
LOGGER| Constructor and Description |
|---|
PrintHelp(ConsoleIO consoleIO,
Map<String,? extends Help> commands)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 static final String USAGE
public String getName()
Helppublic String getHelpShort()
ConsoleCommandgetHelpShort in interface HelpgetHelpShort in class ConsoleCommandpublic String getHelpLong()
ConsoleCommandgetHelpLong in interface HelpgetHelpLong in class ConsoleCommandCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.