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(List<String> args) |
List<String> |
commandInfo(String command) |
void |
console(CommandInput input) |
Object |
grab(CommandInput input) |
Object |
inspect(CommandInput input) |
alias, commandAliases, commandNames, compileCompleters, doHelpDesc, getCommandMethods, hasCommand, invoke, registerCommands, registerCommands, registeredCommand, rename, saveExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregateCompleters, commandAliases, commandNames, compileCompleters, compileCompleters, 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(List<String> args)
commandDescription in interface CommandRegistrypublic Object grab(CommandInput input)
public void console(CommandInput input)
public Object inspect(CommandInput input)
Copyright © 2020. All rights reserved.