org.codehaus.groovy.tools.shell.commands
[Groovy] Class HistoryCommand
java.lang.Object
org.codehaus.groovy.tools.shell.CommandSupport
org.codehaus.groovy.tools.shell.ComplexCommandSupport
org.codehaus.groovy.tools.shell.commands.HistoryCommand
class HistoryCommand
extends ComplexCommandSupport
The 'history' command.
- Authors:
- Jason Dillon
- Version:
- \$Id\$
Property Summary |
java.lang.Object |
do_clear
|
java.lang.Object |
do_flush
|
java.lang.Object |
do_recall
history show shows a list of indexes and past commands. recall serves to rerun one of those by their index.
|
java.lang.Object |
do_show
|
Methods inherited from class CommandSupport
|
alias, assertNoArguments, createCompleters, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHistory, getImports, getUsage, getVariables |
do_clear
java.lang.Object do_clear
-
do_flush
java.lang.Object do_flush
-
do_recall
java.lang.Object do_recall
- history show shows a list of indexes and past commands. recall serves to rerun one of those by their index.
There is is moving window of indexes, so the first valid index will usually be greater than zero.
do_show
java.lang.Object do_show
-
HistoryCommand
HistoryCommand(Groovysh shell)
-
createCompletors
protected java.util.List createCompletors()
-
execute
java.lang.Object execute(java.util.List args)
-
Groovy Documentation