public class GroovyCommand extends AbstractCommandRegistry implements CommandRegistry
| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyCommand.Command |
CommandRegistry.CommandSession| Constructor and Description |
|---|
GroovyCommand(GroovyEngine engine,
Printer printer) |
GroovyCommand(Set<GroovyCommand.Command> commands,
GroovyEngine engine,
Printer printer) |
| Modifier and Type | Method and Description |
|---|---|
CmdDesc |
commandDescription(String command) |
List<String> |
commandInfo(String command) |
void |
console(CommandInput input) |
List<Completer> |
defaultCompleter(String command) |
Object |
grab(CommandInput input) |
List<Completer> |
grabCompleter(String command) |
Object |
inspect(CommandInput input) |
List<Completer> |
inspectCompleter(String command) |
alias, commandAliases, commandNames, compileCompleters, doHelpDesc, execute, getCommandMethods, hasCommand, invoke, registerCommands, registerCommands, registeredCommand, rename, saveExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregateCompleters, commandAliases, commandDescription, commandNames, compileCompleters, compileCompleters, execute, hasCommand, invoke, namepublic GroovyCommand(GroovyEngine engine, Printer printer)
public GroovyCommand(Set<GroovyCommand.Command> commands, GroovyEngine engine, Printer printer)
public List<String> commandInfo(String command)
commandInfo in interface CommandRegistrypublic CmdDesc commandDescription(String command)
commandDescription in interface CommandRegistrypublic Object grab(CommandInput input)
public void console(CommandInput input)
public Object inspect(CommandInput input)
Copyright © 2020. All rights reserved.