org.gudy.azureus2.ui.console.commands
Class Alias
java.lang.Object
org.gudy.azureus2.ui.console.commands.IConsoleCommand
org.gudy.azureus2.ui.console.commands.OptionsConsoleCommand
org.gudy.azureus2.ui.console.commands.Alias
public class Alias
- extends OptionsConsoleCommand
the alias command will add/remove/modify aliases to the CLI input reader.
aliases will be expanded and take priority over standard commands.
- Author:
- pauld
Constructor Summary |
Alias()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Alias
public Alias()
- Parameters:
_commandNames
-
getCommandDescriptions
public String getCommandDescriptions()
- Description copied from class:
IConsoleCommand
- return high-level help about the commands supported by this object.
- Specified by:
getCommandDescriptions
in class IConsoleCommand
- Returns:
execute
public void execute(String commandName,
ConsoleInput console,
org.apache.commons.cli.CommandLine commandLine)
- Description copied from class:
OptionsConsoleCommand
- execute using the specified command line.
- Specified by:
execute
in class OptionsConsoleCommand