[Groovy] Class RegisterCommand
- org.apache.groovy.groovysh.commands.RegisterCommand
class RegisterCommand
extends CommandSupport
The 'register' command. Registers a class as a new groovysh command. Requires the command to have matching constructors (shell) or (shell, name, alias).
Properties Summary
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class CommandSupport |
alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables |
Property Detail
static final String COMMAND_NAME
Constructor Detail
RegisterCommand(Groovysh shell)
Method Detail