Overview
Package
Class
Deprecated
Index
Help
Groovy 2.1.0-rc-1
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
add
(String)
- Method in
SimpleCompletor
alias
(String, String)
- Method in
CommandSupport
AliasCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'alias' command.
AliasCommand
(Shell)
- Constructor in
AliasCommand
AliasTargetProxyCommand
- Class in
org.codehaus.groovy.tools.shell.commands
AliasTargetProxyCommand
(Shell, String, List)
- Constructor in
AliasTargetProxyCommand
AnsiDetector
- Class in
org.codehaus.groovy.tools.shell
assertNoArguments
(List)
- Method in
CommandSupport
B
BufferManager
- Class in
org.codehaus.groovy.tools.shell
Manages the shells buffers.
BufferManager
()
- Constructor in
BufferManager
C
call
()
- Method in
AnsiDetector
checkExit
(int)
- Method in
NoExitSecurityManager
Always throws
SecurityException
.
checkPermission
(Permission)
- Method in
NoExitSecurityManager
ClassNameCompletor
- Class in
org.codehaus.groovy.tools.shell.util
Provides completion for class names.
ClassNameCompletor
(GroovyClassLoader)
- Constructor in
ClassNameCompletor
ClearCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'clear' command.
ClearCommand
(Shell)
- Constructor in
ClearCommand
clearSelected
()
- Method in
BufferManager
CommandAlias
- Class in
org.codehaus.groovy.tools.shell
Provides simple command aliasing.
CommandAlias
(Shell, String, String, String)
- Constructor in
CommandAlias
CommandRegistry
- Class in
org.codehaus.groovy.tools.shell
A registry of shell org.codehaus.groovy.tools.shell.Command instances which may be executed.
commands
()
- Method in
CommandRegistry
CommandsMultiCompletor
- Class in
org.codehaus.groovy.tools.shell
Completor for interactive shells.
CommandSupport
- Class in
org.codehaus.groovy.tools.shell
Support for org.codehaus.groovy.tools.shell.Command instances.
CommandSupport
(Shell, String, String)
- Constructor in
CommandSupport
complete
(String, int, List)
- Method in
CommandsMultiCompletor
complete
(String, int, List)
- Method in
ReflectionCompletor
complete
(String, int, List)
- Method in
SimpleCompletor
ComplexCommandSupport
- Class in
org.codehaus.groovy.tools.shell
Support for more complex commands.
ComplexCommandSupport
(Shell, String, String)
- Constructor in
ComplexCommandSupport
create
(boolean)
- Method in
BufferManager
createCompletors
()
- Method in
CommandAlias
createCompletors
()
- Method in
CommandSupport
Override to provide custom completion semantics for the command.
createCompletors
()
- Method in
ComplexCommandSupport
createCompletors
()
- Method in
HelpCommand
createCompletors
()
- Method in
HistoryCommand
createCompletors
()
- Method in
ImportCommand
createCompletors
()
- Method in
InspectCommand
createCompletors
()
- Method in
LoadCommand
createCompletors
()
- Method in
SaveCommand
createCompletors
()
- Method in
SetCommand
current
()
- Method in
BufferManager
D
defaultFunction
- Field in
ComplexCommandSupport
delete
(int)
- Method in
BufferManager
deleteSelected
()
- Method in
BufferManager
DisplayCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'display' command.
DisplayCommand
(Shell)
- Constructor in
DisplayCommand
doParse
(UnicodeEscapingReader)
- Method in
RelaxedParser
E
EditCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'edit' command.
EditCommand
(Shell)
- Constructor in
EditCommand
evaluate
(List)
- Method in
Interpreter
execute
(List)
- Method in
AliasCommand
execute
(List)
- Method in
AliasTargetProxyCommand
execute
(List)
- Method in
ClearCommand
execute
(List)
- Method in
CommandAlias
execute
(List)
- Method in
ComplexCommandSupport
execute
(List)
- Method in
DisplayCommand
execute
(List)
- Method in
EditCommand
execute
(List)
- Method in
ExitCommand
execute
(String)
- Method in
Groovysh
Execute a single line, where the line may be a command or Groovy code (complete or incomplete).
execute
(List)
- Method in
HelpCommand
execute
(List)
- Method in
HistoryCommand
execute
(List)
- Method in
ImportCommand
execute
(List)
- Method in
InspectCommand
execute
(List)
- Method in
LoadCommand
execute
(List)
- Method in
RegisterCommand
execute
(List)
- Method in
SaveCommand
execute
(List)
- Method in
SetCommand
execute
(String)
- Method in
Shell
executeCommand
(String)
- Method in
Groovysh
executeFunction
(List)
- Method in
ComplexCommandSupport
ExitCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'exit' command.
ExitCommand
(Shell)
- Constructor in
ExitCommand
ExitNotification
- Class in
org.codehaus.groovy.tools.shell
Notification to signal the shell to exit.
ExitNotification
(int)
- Constructor in
ExitNotification
F
fail
(String, Throwable)
- Method in
CommandSupport
find
(String)
- Method in
CommandRegistry
findCommand
(String)
- Method in
Shell
findIdentifierStart
(String, int)
- Method in
ReflectionCompletor
Parse a buffer to determine the start index of the groovy identifier
findMatchingVariables
(String)
- Method in
ReflectionCompletor
Build a list of variables defined in the shell that match a given prefix.
functions
- Field in
ComplexCommandSupport
G
getBinding
()
- Method in
CommandSupport
getBuffer
()
- Method in
CommandSupport
getBuffers
()
- Method in
CommandSupport
getCandidates
()
- Method in
ClassNameCompletor
getCandidates
()
- Method in
HelpCommandCompletor
getCandidates
()
- Method in
InspectCommandCompletor
getClassLoader
()
- Method in
CommandSupport
getClassLoader
()
- Method in
Interpreter
getCompletor
()
- Method in
CommandSupport
Setup the completor for the command.
getContext
()
- Method in
Interpreter
getDefaultWidth
()
- Method in
HelpFormatter
getDescription
()
- Method in
AliasTargetProxyCommand
getDescription
()
- Method in
CommandAlias
getDescription
()
- Method in
CommandSupport
getHelp
()
- Method in
AliasTargetProxyCommand
getHelp
()
- Method in
CommandAlias
getHelp
()
- Method in
CommandSupport
getHidden
()
- Method in
CommandAlias
getHistory
()
- Method in
CommandSupport
getImports
()
- Method in
CommandSupport
getProperty
(String)
- Method in
CommandRegistry
getPublicFieldsAndMethods
(Object, String)
- Method in
ReflectionCompletor
Build a list of public fields and methods for an object that match a given prefix.
getTarget
()
- Method in
CommandAlias
getUsage
()
- Method in
AliasTargetProxyCommand
getUsage
()
- Method in
CommandAlias
getUsage
()
- Method in
CommandSupport
getUserStateDirectory
()
- Method in
Groovysh
getVariables
()
- Method in
CommandSupport
Groovysh
- Class in
org.codehaus.groovy.tools.shell
An interactive shell for evaluating Groovy code from the command-line (aka. groovysh).
Groovysh
()
- Constructor in
Groovysh
H
HelpCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'help' command.
HelpCommand
(Shell)
- Constructor in
HelpCommand
HelpCommandCompletor
- Class in
org.codehaus.groovy.tools.shell.commands
Completor for the 'help' command.
HelpCommandCompletor
(CommandRegistry)
- Constructor in
HelpCommandCompletor
HelpFormatter
- Class in
org.codehaus.groovy.tools.shell.util
Custom CLI help formatter to render things correctly.
HelpFormatter
()
- Constructor in
HelpFormatter
HistoryCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'history' command.
HistoryCommand
(Shell)
- Constructor in
HistoryCommand
I
ImportCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'import' command.
ImportCommand
(Shell)
- Constructor in
ImportCommand
ImportCommandCompletor
- Class in
org.codehaus.groovy.tools.shell.commands
Completor for the 'import' command.
ImportCommandCompletor
(GroovyClassLoader)
- Constructor in
ImportCommandCompletor
InspectCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'inspect' command.
InspectCommand
(Shell)
- Constructor in
InspectCommand
InspectCommandCompletor
- Class in
org.codehaus.groovy.tools.shell.commands
Completor for the 'inspect' command.
InspectCommandCompletor
(Binding)
- Constructor in
InspectCommandCompletor
InteractiveShellRunner
- Class in
org.codehaus.groovy.tools.shell
Support for running a Shell interactively using the JLine library.
InteractiveShellRunner
(Shell, Closure)
- Constructor in
InteractiveShellRunner
Interpreter
- Class in
org.codehaus.groovy.tools.shell
Helper to interpret a source buffer.
Interpreter
(ClassLoader, Binding)
- Constructor in
Interpreter
io
- Field in
CommandSupport
The I/O container for the command to spit stuff out.
isExecutable
(String)
- Method in
Shell
isRecording
()
- Method in
RecordCommand
iterator
()
- Method in
CommandRegistry
J
K
L
leftShift
(Command)
- Method in
CommandRegistry
leftShift
(Command)
- Method in
CommandsMultiCompletor
leftShift
(Command)
- Method in
Shell
leftShift
(String)
- Method in
SimpleCompletor
load
(URL)
- Method in
LoadCommand
LoadCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'load' command.
LoadCommand
(Shell)
- Constructor in
LoadCommand
loadFunction
(String)
- Method in
ComplexCommandSupport
log
- Field in
BufferManager
log
- Field in
CommandRegistry
log
- Field in
CommandsMultiCompletor
log
- Field in
CommandSupport
Instance logger for the command, initialized late to include the command name.
log
- Field in
Shell
log
- Field in
ShellRunner
M
Main
- Class in
org.codehaus.groovy.tools.shell
Main CLI entry-point for
groovysh
.
main
(String)
- Method in
Main
messages
- Field in
CommandSupport
i18n message source for the command.
N
NEWLINE
- Field in
CommandSupport
NoExitSecurityManager
- Class in
org.codehaus.groovy.tools.shell.util
Custom security manager to
System.exit
(and related) from being used.
NoExitSecurityManager
()
- Constructor in
NoExitSecurityManager
O
P
parse
(List)
- Method in
Parser
parse
(List)
- Method in
RelaxedParser
parse
(List)
- Method in
RigidParser
ParseCode
- Class in
org.codehaus.groovy.tools.shell
Container for the parse code.
parseLine
(String)
- Method in
Shell
Parser
- Class in
org.codehaus.groovy.tools.shell
Provides a facade over the parser to recognize valid Groovy syntax.
Parser
()
- Constructor in
Parser
ParseStatus
- Class in
org.codehaus.groovy.tools.shell
Container for parse status details.
ParseStatus
(Throwable)
- Constructor in
ParseStatus
PurgeCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'purge' command.
PurgeCommand
(Shell)
- Constructor in
PurgeCommand
Q
R
readLine
()
- Method in
InteractiveShellRunner
readLine
()
- Method in
ShellRunner
RecordCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'record' command.
RecordCommand
(Shell)
- Constructor in
RecordCommand
recordError
(Throwable)
- Method in
RecordCommand
recordInput
(String)
- Method in
RecordCommand
recordResult
(Object)
- Method in
RecordCommand
ReflectionCompletor
- Class in
org.codehaus.groovy.tools.shell
Implements the Completor interface to provide competions for GroovyShell by using reflection on global variables.
ReflectionCompletor
(Shell)
- Constructor in
ReflectionCompletor
refresh
()
- Method in
CommandsMultiCompletor
register
(Command)
- Method in
CommandRegistry
register
(Command)
- Method in
Shell
register
(URL)
- Method in
XmlCommandRegistrar
RegisterCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'register' command.
RegisterCommand
(Shell)
- Constructor in
RegisterCommand
registry
- Field in
CommandSupport
Provides the command instance with the registry, for aliasing support.
RelaxedParser
- Class in
org.codehaus.groovy.tools.shell
A relaxed parser, which tends to allow more, but won't really catch valid syntax errors.
remove
(Command)
- Method in
CommandRegistry
renderOptions
(StringBuffer, int, Options, int, int)
- Method in
HelpFormatter
renderPrompt
()
- Method in
Groovysh
reset
()
- Method in
BufferManager
RigidParser
- Class in
org.codehaus.groovy.tools.shell
A more rigid parser which catches more syntax errors, but also tends to barf on stuff that is really valid from time to time.
run
(String)
- Method in
Groovysh
run
()
- Method in
InteractiveShellRunner
run
()
- Method in
ShellRunner
S
SaveCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'save' command.
SaveCommand
(Shell)
- Constructor in
SaveCommand
select
(int)
- Method in
BufferManager
setColor
(def)
- Method in
Main
SetCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'set' command, used to set preferences.
SetCommand
(Shell)
- Constructor in
SetCommand
setHistory
(History)
- Method in
InteractiveShellRunner
setHistoryFile
(File)
- Method in
InteractiveShellRunner
setSystemProperty
(String)
- Method in
Main
setTerminalType
(String)
- Method in
Main
ShadowCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'shadow' command.
ShadowCommand
(Shell)
- Constructor in
ShadowCommand
Shell
- Class in
org.codehaus.groovy.tools.shell
A simple shell for invoking commands from a command-line.
shell
- Field in
CommandSupport
The owning shell.
Shell
()
- Constructor in
Shell
ShellRunner
- Class in
org.codehaus.groovy.tools.shell
Support for running a Shell.
ShellRunner
(Shell)
- Constructor in
ShellRunner
ShowCommand
- Class in
org.codehaus.groovy.tools.shell.commands
The 'show' command.
ShowCommand
(Shell)
- Constructor in
ShowCommand
SimpleCompletor
- Class in
org.codehaus.groovy.tools.shell.util
Support for simple completors.
SimpleCompletor
(Closure)
- Constructor in
SimpleCompletor
size
()
- Method in
BufferManager
T
toString
()
- Method in
ParseCode
U
updateSelected
(List)
- Method in
BufferManager
V
W
work
()
- Method in
InteractiveShellRunner
work
()
- Method in
ShellRunner
X
XmlCommandRegistrar
- Class in
org.codehaus.groovy.tools.shell.util
Registers org.codehaus.groovy.tools.shell.Command instances from and XML file.
XmlCommandRegistrar
(Shell, ClassLoader)
- Constructor in
XmlCommandRegistrar
Y
Z
_
Copyright © 2003-2013 The Codehaus. All rights reserved.