public class AliasAction extends Object implements CommandAction, OpaqueArguments
CommandAction to execute an alias.CommandAction.Result| Constructor and Description |
|---|
AliasAction(String name,
String target) |
| Modifier and Type | Method and Description |
|---|---|
CommandAction |
clone() |
Object |
execute(CommandContext context)
Execute the command action.
|
jline.console.completer.Completer[] |
getCompleters() |
MessageSource |
getMessages() |
String |
getName() |
String |
getSimpleName() |
public String getName()
getName in interface CommandActionpublic String getSimpleName()
getSimpleName in interface CommandActionpublic Object execute(CommandContext context) throws Exception
CommandActionexecute in interface CommandActioncontext - The execution context of the command.Exception - Command execution failed.public MessageSource getMessages()
getMessages in interface CommandActionpublic jline.console.completer.Completer[] getCompleters()
getCompleters in interface CommandActionpublic CommandAction clone()
clone in interface CommandActionclone in class ObjectCopyright © 2008-2012 Sonatype. All Rights Reserved.