Groovy 2.2.0-beta-1
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

acceptName(String, String) - Method in ReflectionCompletor
add(String) - Method in SimpleCompletor
addCandidateString(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
AUTOINDENT_PREFERENCE_KEY - Field in Groovysh
available() - Method in WrappedInputStream

B

browse(List) - Method in DocCommand
browseWithAWT(List) - Method in DocCommand
browseWithNativeBrowser(String, List) - Method in DocCommand
BufferManager - Class in org.codehaus.groovy.tools.shell
Manages the shells buffers.
BufferManager() - Constructor in BufferManager

C

CachedPackage - Class in org.codehaus.groovy.tools.shell.util
CachedPackage(String, Set) - Constructor in CachedPackage
call() - Method in AnsiDetector
checkExit(int) - Method in NoExitSecurityManager
Always throws SecurityException.
checkPermission(Permission) - Method in NoExitSecurityManager
classes - Field in GroovySyntaxCompletor
ClearCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'clear' command.
ClearCommand(Groovysh) - Constructor in ClearCommand
clearSelected() - Method in BufferManager
close() - Method in WrappedInputStream
collectImportedSymbols(String, Collection) - Method in ImportsSyntaxCompletor
finds matching imported classes or static methods
collectPackageNamesFromFolderRecursive(File, String, Set) - Method in PackageHelper
Crawls a folder, iterates over subfolders, looking for class files.
CommandAlias - Class in org.codehaus.groovy.tools.shell
Provides simple command aliasing.
CommandAlias(Groovysh, 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
CommandsMultiCompleter - Class in org.codehaus.groovy.tools.shell
Completer for interactive shells.
CommandSupport - Class in org.codehaus.groovy.tools.shell
Support for org.codehaus.groovy.tools.shell.Command instances.
CommandSupport(Groovysh, String, String) - Constructor in CommandSupport
complete(String, int, List) - Method in CommandsMultiCompleter
complete(List, List) - Method in CustomClassSyntaxCompletor
complete(String, int, List) - Method in FileNameCompleter
complete(String, int, List) - Method in GroovySyntaxCompletor
complete(List, List) - Method in IdentifierCompletor
@param tokens List of tokens, non empty, last token is an identifier token, previous token is not a dot
complete(String, int, List) - Method in ImportCompleter
complete(List, List) - Method in ImportsSyntaxCompletor
complete(List, List) - Method in KeywordSyntaxCompletor
complete(List, List) - Method in ReflectionCompletor
complete(String, int, List) - Method in SimpleCompletor
complete(List, List) - Method in VariableSyntaxCompletor
completeIdentifier(List, List) - Method in GroovySyntaxCompletor
ComplexCommandSupport - Class in org.codehaus.groovy.tools.shell
Support for more complex commands.
ComplexCommandSupport(Groovysh, String, String, List, String) - Constructor in ComplexCommandSupport
create(boolean) - Method in BufferManager
createCompleters() - Method in CommandSupport
Override to provide custom completion semantics for the command.
createCompleters() - Method in ComplexCommandSupport
createCompleters() - Method in LoadCommand
createCompleters() - Method in SetCommand
createCompletors() - Method in CommandAlias
createCompletors() - Method in HelpCommand
createCompletors() - Method in HistoryCommand
createCompletors() - Method in InspectCommand
createCompletors() - Method in SaveCommand
createGroovyLexer(String) - Method in CurlyCountingGroovyLexer
createGroovyLexer(String) - Method in GroovySyntaxCompletor
CurlyCountingGroovyLexer - Class in org.codehaus.groovy.tools.shell.util
patching GroovyLexer to get access to Paren level Author: kruset
CurlyCountingGroovyLexer(Reader) - Constructor in CurlyCountingGroovyLexer
current() - Method in BufferManager
CustomClassSyntaxCompletor - Class in org.codehaus.groovy.tools.shell.completion
Completor completingclasses defined in the shell
CustomClassSyntaxCompletor(Groovysh) - Constructor in CustomClassSyntaxCompletor

D

defaultFunction - Field in ComplexCommandSupport
delete(int) - Method in BufferManager
deleteSelected() - Method in BufferManager
displayBuffer(List) - Method in Groovysh
Display the given buffer.
DisplayCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'display' command.
DisplayCommand(Groovysh) - Constructor in DisplayCommand
doc(String) - Method in DocCommand
DocCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'doc' command.
DocCommand(Shell) - Constructor in DocCommand
Check for java.awt.Desktop#browse platform support
doParse(UnicodeEscapingReader) - Method in RelaxedParser

E

EditCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'edit' command.
EditCommand(Groovysh) - Constructor in EditCommand
endReached - Field in CurlyCountingGroovyLexer
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 DocCommand
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(String, List) - Method in ComplexCommandSupport
ExitCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'exit' command.
ExitCommand(Groovysh) - 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
FileNameCompleter - Class in org.codehaus.groovy.tools.shell.completion
PATCHED copy from jline2.10, included https://github.com/jline/jline2/pull/88 https://github.com/jline/jline2/issues/90
FileNameCompleter(boolean) - Constructor in FileNameCompleter
filterMatches(String) - Method in ImportCompleter
find(String) - Method in CommandRegistry
findCommand(String) - Method in Shell
findMatchingImportedClassesCached(String, String, List) - Method in ImportsSyntaxCompletor
findMatchingPreImportedClasses(String, Collection) - Method in ImportsSyntaxCompletor
functions - Field in ComplexCommandSupport

G

getBinding() - Method in CommandSupport
getBrowserEnvironmentVariable() - Method in DocCommand
getBuffer() - Method in CommandSupport
getBuffers() - Method in CommandSupport
getCandidates() - Method in HelpCommandCompletor
getCandidates() - Method in InspectCommandCompletor
getCandidates() - Method in SimpleCompletor
getClassLoader() - Method in CommandSupport
getClassLoader() - Method in Interpreter
getClassnames(Set, String) - Method in PackageHelper
Copied from JLine 1.0 ClassNameCompletor
getCompleter() - Method in CommandSupport
Setup the Completer for the command.
getCompleter() - Method in DocCommand
getCompleter() - Method in ImportCommand
getCompletionCase(List) - Method in GroovySyntaxCompletor
getContents(String) - Method in PackageHelper
returns the names of Classes and direct subpackages contained in a package
getContext() - Method in Interpreter
getDefaultWidth() - Method in HelpFormatter
getDescription() - Method in AliasTargetProxyCommand
getDescription() - Method in CommandAlias
getDescription() - Method in CommandSupport
getEditorProcessBuilder(String, String) - Method in EditCommand
getFunctions() - Method in ComplexCommandSupport
getHelp() - Method in AliasTargetProxyCommand
getHelp() - Method in CommandAlias
getHelp() - Method in CommandSupport
getHidden() - Method in CommandAlias
getHistory() - Method in CommandSupport
getImports() - Method in CommandSupport
getIndentPrefix() - Method in Groovysh
Calculate probably desired indentation based on parenthesis balance and last char, as well as what the user used last as indentation.
getInvokerClassOrInstance(List) - Method in ReflectionCompletor
Takes the last ?
getInvokerTokens(List) - Method in ReflectionCompletor
return the last tokens of a list that form an expression to be completed after the next dot, or null if expression cannot be detected.
getPackageNames(URL) - Method in PackageHelper
Returns all packagenames found at URL, accepts jar files and folders
getPackageNamesFromJar(JarFile) - Method in PackageHelper
getParenLevel() - Method in CurlyCountingGroovyLexer
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
getUserDir() - Method in FileNameCompleter
getUserHome() - Method in FileNameCompleter
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
GroovySyntaxCompletor - Class in org.codehaus.groovy.tools.shell.completion
Implements the Completor interface to provide competions for GroovyShell by tokenizing the buffer and invoking other classes depending on the tokens found.
GroovySyntaxCompletor.CompletionCase - Enum in org.codehaus.groovy.tools.shell.completion
GroovySyntaxCompletor.InStringException - Class in org.codehaus.groovy.tools.shell.completion
GroovySyntaxCompletor.InStringException(int) - Constructor in GroovySyntaxCompletor.InStringException
GroovySyntaxCompletor(Groovysh, ReflectionCompletor, List, Completer) - Constructor in GroovySyntaxCompletor

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(Groovysh) - Constructor in HistoryCommand

I

IdentifierCompletor - Interface in org.codehaus.groovy.tools.shell.completion
Interface for classes that complete identifier tokens within a groovy Statement (Class, variable, keyword, method, ...)
IMPORT_COMPLETION_PREFERENCE_KEY - Field in PackageHelper
ImportCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'import' command.
ImportCommand(Groovysh) - Constructor in ImportCommand
ImportCompleter - Class in org.codehaus.groovy.tools.shell.commands
ImportCompleter(PackageHelper, def, boolean) - Constructor in ImportCompleter
ImportsSyntaxCompletor - Class in org.codehaus.groovy.tools.shell.completion
Completor completing imported classnames
ImportsSyntaxCompletor(Groovysh) - Constructor in ImportsSyntaxCompletor
initializePackages(ClassLoader) - Method in PackageHelper
insert(String) - Method in WrappedInputStream
InspectCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'inspect' command.
InspectCommand(Groovysh) - 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(Groovysh, 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.
isCommand(String, CommandRegistry) - Method in GroovySyntaxCompletor
isExecutable(String) - Method in Shell
isRecording() - Method in RecordCommand
iterator() - Method in CommandRegistry

J


K

KeywordSyntaxCompletor - Class in org.codehaus.groovy.tools.shell.completion
Completor completing variable and method names from known variables in the shell

L

leftShift(Command) - Method in CommandRegistry
leftShift(Command) - Method in CommandsMultiCompleter
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(Groovysh) - Constructor in LoadCommand
loadFunction(String) - Method in ComplexCommandSupport
log - Field in BufferManager
log - Field in CommandRegistry
log - Field in CommandsMultiCompleter
log - Field in CommandSupport
Instance logger for the command, initialized late to include the command name.
log - Field in GroovySyntaxCompletor
log - Field in ImportCompleter
log - Field in PackageHelper
log - Field in Shell
log - Field in ShellRunner
log - Field in WrappedInputStream

M

Main - Class in org.codehaus.groovy.tools.shell
Main CLI entry-point for groovysh.
main(String) - Method in Main
mark(int) - Method in WrappedInputStream
markSupported() - Method in WrappedInputStream
matchFiles(String, String, File, List) - Method in FileNameCompleter
mergeNewPackages(Collection, URL, Map) - Method in PackageHelper
messages - Field in CommandSupport
i18n message source for the command.

N

NAME_PATTERN - Field in PackageHelper
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
normalizeClassName(String) - Method in DocCommand

O


P

PACK_OR_CLASS_OR_METHODNAME_PATTERN - Field in ImportCompleter
PACK_OR_CLASSNAME_PATTERN - Field in ImportCompleter
PACK_OR_SIMPLE_CLASSNAME_PATTERN - Field in ImportCompleter
PackageHelper - Class in org.codehaus.groovy.tools.shell.util
Helper class that crawls all items of the classpath for packages.
PackageHelper(ClassLoader) - Constructor in PackageHelper
parse(List) - Method in Parser
parse(List) - Method in Parsing
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
Parsing - Interface in org.codehaus.groovy.tools.shell
preferenceChange(PreferenceChangeEvent) - Method in PackageHelper
PurgeCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'purge' command.
PurgeCommand(Groovysh) - Constructor in PurgeCommand

Q

QUALIFIED_CLASS_DOT_PATTERN - Field in ImportCompleter

R

read(byte[], int, int) - Method in WrappedInputStream
readLine() - Method in InteractiveShellRunner
readLine() - Method in ShellRunner
RecordCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'record' command.
RecordCommand(Groovysh) - 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.completion
Completes fields and methods of Classes or instances.
ReflectionCompletor(Groovysh) - Constructor in ReflectionCompletor
refresh() - Method in CommandsMultiCompleter
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(Groovysh) - 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
render(File, CharSequence) - Method in FileNameCompleter
renderOptions(StringBuffer, int, Options, int, int) - Method in HelpFormatter
renderPrompt() - Method in Groovysh
replaceCurrentBuffer(List) - Method in EditCommand
reset() - Method in BufferManager
reset() - Method in WrappedInputStream
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(Groovysh) - Constructor in SaveCommand
select(int) - Method in BufferManager
sendHEADRequest(URL) - Method in DocCommand
separator() - Method in FileNameCompleter
setCandidates(SortedSet) - Method in SimpleCompletor
setCandidateStrings(String) - Method in SimpleCompletor
setColor(def) - Method in Main
SetCommand - Class in org.codehaus.groovy.tools.shell.commands
The 'set' command, used to set preferences.
SetCommand(Groovysh) - Constructor in SetCommand
setHistory(FileHistory) - 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(Groovysh) - 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(Groovysh) - 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
skip(long) - Method in WrappedInputStream

T

tokenizeBuffer(String, List, List) - Method in GroovySyntaxCompletor
Adds to result the identified tokens for the bufferLines
tokenListToEvalString(List) - Method in ReflectionCompletor
toList() - Method in CurlyCountingGroovyLexer
toString() - Method in ParseCode

U

updateSelected(List) - Method in BufferManager
uponEOF() - Method in CurlyCountingGroovyLexer
urlsFor(String) - Method in DocCommand

V

VariableSyntaxCompletor - Class in org.codehaus.groovy.tools.shell.completion
Completor completing variable and method names from known variables in the shell
VariableSyntaxCompletor(Groovysh) - Constructor in VariableSyntaxCompletor

W

work() - Method in InteractiveShellRunner
work() - Method in ShellRunner
WrappedInputStream - Class in org.codehaus.groovy.tools.shell.util
In order to modify JLine Behavior, we need to wrap the IO streams so we can hack into them This allows autoindent and redisplaying the chars typed so far after exceptions during completion
WrappedInputStream(InputStream) - Constructor in WrappedInputStream
Construct a new IO container using system streams.

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.