[Groovy] Class DisplayCommand
- org.codehaus.groovy.tools.shell.commands.DisplayCommand
The 'display' command. Displays the current buffer (e.g. while method declaration was not finished).
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 |
---|
DisplayCommand
(Groovysh shell) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
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
DisplayCommand(Groovysh shell)
Method Detail
@Override Object execute(List<String> args)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/tools/shell/commands/DisplayCommand.html