[Groovy] Class GrabCommand
- org.apache.groovy.groovysh.commands.GrabCommand
class GrabCommand extends CommandSupport
The 'grab' command.
Field Summary
Modifiers | Name | Description |
---|---|---|
static String | COMMAND_NAME |
Fields inherited from class | Fields |
---|---|
class CommandSupport | NEWLINE, io, log, messages, registry, shell |
Constructor Summary
Constructor and description |
---|
GrabCommand
(Groovysh shell) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected List<Completer> |
createCompleters() | |
Object |
execute(List<String> args) |
Inherited Methods Summary
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 |
Field Detail
public static final String COMMAND_NAME
Constructor Detail
GrabCommand(Groovysh shell)
Method Detail
@Override protected List<Completer> createCompleters()
@Override Object execute(List<String> args)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/groovysh/commands/GrabCommand.html