On this page
[Groovy] Class CommandRegistry
- org.apache.groovy.groovysh.CommandRegistry
Field Summary
Properties Summary
Type | Name and description |
---|---|
List<Command> |
commandList A list of all of the registered commands. |
Constructor Summary
Constructor and description |
---|
CommandRegistry() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
List<Command> |
commands() |
|
Command |
find(String name) |
|
Command |
getProperty(String name) |
|
Iterator |
iterator() |
|
Command |
register(Command command) |
|
void |
remove(Command command) |
Inherited Methods Summary
Field Detail
protected final Logger log
Property Detail
final List<Command> commandList
A list of all of the registered commands.
Constructor Detail
CommandRegistry()
Method Detail
List<Command> commands()
Command find(String name)
Command getProperty(String name)
Iterator iterator()
Command register(Command command)
void remove(Command command)
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/groovysh/CommandRegistry.html