@Command(name="alias") public class AliasCommand extends CommandActionSupport implements CliProcessorAware
CommandAction.Result
log
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 CliProcessorAware
public Object execute(CommandContext context) throws Exception
CommandAction
execute
in interface CommandAction
context
- The execution context of the command.Exception
- Command execution failed.Copyright © 2008-2012 Sonatype. All Rights Reserved.