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, writeUnopenedError
public static final String USAGE
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
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.