@Command(name="alias") public class AliasCommand extends CommandActionSupport implements CliProcessorAware
CommandAction.Resultlog| Constructor and Description |
|---|
AliasCommand(AliasRegistry aliasRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(CommandContext context)
Execute the command action.
|
AliasCommand |
installCompleters(jline.console.completer.Completer c1) |
void |
setProcessor(CliProcessor processor) |
clone, createMessages, getCompleters, getMessages, getName, getSimpleName, setCompleters, setCompleters, setName@Inject public AliasCommand(AliasRegistry aliasRegistry)
@Inject public AliasCommand installCompleters(jline.console.completer.Completer c1)
public void setProcessor(CliProcessor processor)
setProcessor in interface CliProcessorAwarepublic Object execute(CommandContext context) throws Exception
CommandActionexecute in interface CommandActioncontext - The execution context of the command.Exception - Command execution failed.Copyright © 2008-2012 Sonatype. All Rights Reserved.