A B C D E F G H I J L M N O P Q R S T U V W X

A

AbstractFSDriver<H> - Class in org.crsh.vfs.spi
 
AbstractFSDriver() - Constructor for class org.crsh.vfs.spi.AbstractFSDriver
 
addListener(ProcessorListener) - Method in class org.crsh.Processor
 
addNode(Element) - Method in class org.crsh.display.structure.TreeElement
 
addNode(Element) - Method in class org.crsh.shell.ui.TreeElement
 
addToHistory(CharSequence) - Method in class org.crsh.term.BaseTerm
 
addToHistory(CharSequence) - Method in class org.crsh.term.ConsoleTerm
 
addToHistory(CharSequence) - Method in interface org.crsh.term.Term
Append a line to the term history.
ALL - Static variable in class org.crsh.plugin.PropertyDescriptor
.
append(ShellWriterContext, CharSequence) - Method in interface org.crsh.shell.io.ShellWriter
 
append(ShellWriterContext, CharSequence, int, int) - Method in interface org.crsh.shell.io.ShellWriter
 
append(ShellWriterContext, char) - Method in interface org.crsh.shell.io.ShellWriter
 
append(char) - Method in class org.crsh.util.LineFeedWriter
 
append(ShellWriterContext, char) - Method in class org.crsh.util.LineFeedWriter
 
append(CharSequence, int, int) - Method in class org.crsh.util.LineFeedWriter
 
append(CharSequence) - Method in class org.crsh.util.LineFeedWriter
 
append(ShellWriterContext, CharSequence) - Method in class org.crsh.util.LineFeedWriter
 
append(ShellWriterContext, CharSequence, int, int) - Method in class org.crsh.util.LineFeedWriter
 
AppendableWriter - Class in org.crsh.util
 
AppendableWriter(Appendable) - Constructor for class org.crsh.util.AppendableWriter
 
ArgumentNameTransformer - Class in org.crsh.groovy
 
ArgumentNameTransformer() - Constructor for class org.crsh.groovy.ArgumentNameTransformer
 
AsyncShell - Class in org.crsh.shell.concurrent
 
AsyncShell(ExecutorService, Shell) - Constructor for class org.crsh.shell.concurrent.AsyncShell
 

B

BaseCommand<C,P> - Class in org.crsh.command
The base command.
BaseCommand() - Constructor for class org.crsh.command.BaseCommand
 
BaseTerm - Class in org.crsh.term
 
BaseTerm(TermIO) - Constructor for class org.crsh.term.BaseTerm
 
begin(ShellProcess) - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
begin(ShellProcess) - Method in interface org.crsh.shell.ShellProcessContext
This method is invoked before the process work begins.
Bootstrap - Class in org.crsh.standalone
 
Bootstrap() - Constructor for class org.crsh.standalone.Bootstrap
 
bootstrap() - Method in class org.crsh.standalone.Bootstrap
 
bufferInsert(CharSequence) - Method in class org.crsh.term.BaseTerm
 
bufferInsert(CharSequence) - Method in class org.crsh.term.ConsoleTerm
 
bufferInsert(CharSequence) - Method in interface org.crsh.term.Term
Insert a message on the console just after the cursor.
build() - Method in class org.crsh.shell.ShellFactory
 
BytesOutputStream - Class in org.crsh.util
Extends the ByteArrayOutputStream for providing an input stream over the buffer.
BytesOutputStream() - Constructor for class org.crsh.util.BytesOutputStream
 
BytesOutputStream(int) - Constructor for class org.crsh.util.BytesOutputStream
 

C

cancel() - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
cancel() - Method in interface org.crsh.shell.ShellProcess
Attempt to cancel the shell process.
cancel(boolean) - Method in class org.crsh.util.ImmediateFuture
 
child(String, boolean) - Method in class org.crsh.vfs.File
 
child(H, String) - Method in class org.crsh.vfs.spi.AbstractFSDriver
 
child(H, String) - Method in interface org.crsh.vfs.spi.FSDriver
 
children() - Method in class org.crsh.vfs.File
 
children(File) - Method in class org.crsh.vfs.spi.file.FileDriver
 
children(H) - Method in interface org.crsh.vfs.spi.FSDriver
 
children(Handle) - Method in class org.crsh.vfs.spi.jarurl.JarURLDriver
 
children(H) - Method in class org.crsh.vfs.spi.mount.MountDriver
 
children(String) - Method in class org.crsh.vfs.spi.servlet.ServletContextDriver
 
chunks(CharSequence) - Static method in class org.crsh.util.Strings
 
ClassCommand - Class in org.crsh.command
The class command is a specialization of the BaseCommand for simple command implementations.
ClassCommand() - Constructor for class org.crsh.command.ClassCommand
 
clearBuffer() - Method in class org.crsh.term.console.Console
Clears the buffer without doing any echoing.
close() - Method in class org.crsh.shell.concurrent.AsyncShell
 
close() - Method in class org.crsh.shell.impl.CRaSH
 
close() - Method in class org.crsh.term.BaseTerm
 
close() - Method in class org.crsh.term.ConsoleTerm
 
close() - Method in class org.crsh.term.spi.jline.JLineIO
 
close() - Method in interface org.crsh.term.spi.TermIO
Close the input/output.
close() - Method in interface org.crsh.term.Term
Close the term.
close() - Method in class org.crsh.util.AppendableWriter
 
close() - Method in class org.crsh.util.BytesOutputStream
 
close(Closeable) - Static method in class org.crsh.util.Safe
 
closed() - Method in interface org.crsh.ProcessorListener
Closed.
CodeType - Enum in org.crsh.term
 
CommandContext - Interface in org.crsh.command
 
CommandContextImpl - Class in org.crsh.shell.impl
 
CommandContextImpl(Map<String, Object>) - Constructor for class org.crsh.shell.impl.CommandContextImpl
 
CommandInvoker<C,P> - Interface in org.crsh.command
The base interface for a shell command.
complete(CommandContext, String) - Method in class org.crsh.command.BaseCommand
 
complete(CommandContext, String) - Method in class org.crsh.command.CRaSHCommand
 
complete(CommandContext, String) - Method in interface org.crsh.command.ShellCommand
Provide completions for the specified arguments.
complete(String) - Method in class org.crsh.shell.concurrent.AsyncShell
 
complete(String) - Method in class org.crsh.shell.impl.CRaSH
For now basic implementation
complete(CommandContext, String) - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
complete(String) - Method in interface org.crsh.shell.Shell
Completion.
completed(V) - Method in interface org.crsh.util.CompletionHandler
 
CompletionHandler<V> - Interface in org.crsh.util
 
Console - Class in org.crsh.term.console
This class provides an abstraction for a console.
Console(ViewWriter) - Constructor for class org.crsh.term.console.Console
 
ConsoleReader - Class in org.crsh.term.console
The console reader provides read oriented operation for the console.
ConsoleReader() - Constructor for class org.crsh.term.console.ConsoleReader
 
ConsoleTerm - Class in org.crsh.term
 
ConsoleTerm() - Constructor for class org.crsh.term.ConsoleTerm
 
ConsoleWriter - Class in org.crsh.term.console
The console writer controls the output as seen by the client of the console.
ConsoleWriter() - Constructor for class org.crsh.term.console.ConsoleWriter
 
consume() - Method in interface org.crsh.command.InvocationContext
Returns an iterator over the stream of consumed items.
contextDestroyed(ServletContextEvent) - Method in class org.crsh.plugin.WebPluginLifeCycle
 
contextInitialized(ServletContextEvent) - Method in class org.crsh.plugin.WebPluginLifeCycle
 
copy(InputStream, OutputStream) - Static method in class org.crsh.util.IO
 
CRaSH - Class in org.crsh.shell.impl
 
CRaSH(PluginContext) - Constructor for class org.crsh.shell.impl.CRaSH
 
CRaSHCommand - Class in org.crsh.command
A real CRaSH command, the most powerful kind of command.
CRaSHCommand() - Constructor for class org.crsh.command.CRaSHCommand
 
CRaSHLifeCycle - Class in org.crsh.term
 
CRaSHLifeCycle(PluginContext) - Constructor for class org.crsh.term.CRaSHLifeCycle
 
CRaSHPlugin - Class in org.crsh.plugin
 
CRaSHPlugin() - Constructor for class org.crsh.plugin.CRaSHPlugin
 
CreateCommandException - Exception in org.crsh.shell.impl
 
CreateCommandException() - Constructor for exception org.crsh.shell.impl.CreateCommandException
 
CreateCommandException(String) - Constructor for exception org.crsh.shell.impl.CreateCommandException
 
CreateCommandException(String, Throwable) - Constructor for exception org.crsh.shell.impl.CreateCommandException
 
CreateCommandException(Throwable) - Constructor for exception org.crsh.shell.impl.CreateCommandException
 
createInvoker(String) - Method in class org.crsh.command.BaseCommand
 
createInvoker(String) - Method in class org.crsh.command.CRaSHCommand
 
createInvoker(String) - Method in interface org.crsh.command.ShellCommand
Provides an invoker for the specified arguments.
createInvoker(String) - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
createNode(Object) - Method in class org.crsh.display.DisplayBuilder
 
createNode(Object, Object) - Method in class org.crsh.display.DisplayBuilder
 
createNode(Object, Map, Object) - Method in class org.crsh.display.DisplayBuilder
 
createNode(Object, Map) - Method in class org.crsh.display.DisplayBuilder
 
createNode(Object) - Method in class org.crsh.shell.ui.UIBuilder
 
createNode(Object, Object) - Method in class org.crsh.shell.ui.UIBuilder
 
createNode(Object, Map, Object) - Method in class org.crsh.shell.ui.UIBuilder
 
createNode(Object, Map) - Method in class org.crsh.shell.ui.UIBuilder
 

D

decode(int) - Method in class org.crsh.term.spi.jline.JLineIO
 
decode(int) - Method in interface org.crsh.term.spi.TermIO
Decode the intput value.
DefaultImportTransformer - Class in org.crsh.groovy
This class is a Groovy transformation that adds default import to CRaSH commands.
DefaultImportTransformer() - Constructor for class org.crsh.groovy.DefaultImportTransformer
 
defaultValue - Variable in class org.crsh.plugin.PropertyDescriptor
.
del() - Method in class org.crsh.term.console.ViewReader
 
DELETE_PREV_CHAR - Static variable in class org.crsh.util.OutputCode
.
describe(String, DescriptionMode) - Method in class org.crsh.command.BaseCommand
 
describe(String, DescriptionMode) - Method in class org.crsh.command.CRaSHCommand
 
describe(String, DescriptionMode) - Method in interface org.crsh.command.ShellCommand
Returns a description of the command or null if none can be found.
describe(String, DescriptionMode) - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
Description - Annotation Type in org.crsh.command
The command description.
description - Variable in class org.crsh.plugin.PropertyDescriptor
.
DescriptionMode - Enum in org.crsh.command
 
destroy() - Method in class org.crsh.plugin.CRaSHPlugin
 
destroy() - Method in class org.crsh.term.CRaSHLifeCycle
 
DisplayBuilder - Class in org.crsh.display
 
DisplayBuilder() - Constructor for class org.crsh.display.DisplayBuilder
 
DisplayContext - Class in org.crsh.display
 
DisplayContext() - Constructor for class org.crsh.display.DisplayContext
 
doDestroy() - Method in class org.crsh.term.CRaSHLifeCycle
 
doInit() - Method in class org.crsh.term.CRaSHLifeCycle
 
doParse(String) - Method in class org.crsh.plugin.PropertyDescriptor
 

E

Element - Class in org.crsh.display.structure
 
Element() - Constructor for class org.crsh.display.structure.Element
 
Element - Class in org.crsh.shell.ui
 
Element() - Constructor for class org.crsh.shell.ui.Element
 
end(ShellResponse) - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
end(ShellResponse) - Method in interface org.crsh.shell.ShellProcessContext
This method is invoked when the process ends.
equals(Object) - Method in class org.crsh.vfs.Path
 
ErrorType - Enum in org.crsh.shell
 
execute(InvocationContext<C, P>) - Method in class org.crsh.command.BaseCommand
 
execute(InvocationContext<Void, Void>) - Method in class org.crsh.command.ClassCommand
 
execute() - Method in class org.crsh.command.ClassCommand
 

F

File - Class in org.crsh.vfs
 
File(FS, Path) - Constructor for class org.crsh.vfs.File
 
FileDriver - Class in org.crsh.vfs.spi.file
 
FileDriver(File) - Constructor for class org.crsh.vfs.spi.file.FileDriver
Create a new file driver.
fileName(String) - Static method in class org.crsh.util.XML
 
findLongestCommonPrefix(CharSequence...) - Static method in class org.crsh.util.Strings
 
findLongestCommonPrefix(Iterable<? extends CharSequence>) - Static method in class org.crsh.util.Strings
Find the longest possible common prefix of the provided char sequence.
flush() - Method in class org.crsh.term.console.ViewWriter
 
flush() - Method in class org.crsh.term.spi.jline.JLineIO
 
flush() - Method in interface org.crsh.term.spi.TermIO
Flush output.
flush() - Method in class org.crsh.util.AppendableWriter
 
FS - Class in org.crsh.vfs
 
FS() - Constructor for class org.crsh.vfs.FS
 
FSDriver<H> - Interface in org.crsh.vfs.spi
A driver.

G

get() - Method in class org.crsh.util.ImmediateFuture
 
get(long, TimeUnit) - Method in class org.crsh.util.ImmediateFuture
 
get(Path) - Method in class org.crsh.vfs.FS
 
get(Path, String, boolean) - Static method in class org.crsh.vfs.Path
 
get(String) - Static method in class org.crsh.vfs.Path
 
getAttribute(String) - Method in class org.crsh.shell.impl.CRaSH
 
getAttributes() - Method in interface org.crsh.command.CommandContext
 
getAttributes() - Method in class org.crsh.shell.impl.CommandContextImpl
 
getBuffer() - Method in class org.crsh.term.BaseTerm
 
getBuffer() - Method in class org.crsh.term.console.Console
 
getBuffer() - Method in class org.crsh.term.ConsoleTerm
 
getBuffer() - Method in interface org.crsh.term.Term
Returns the current buffer;
getBufferToCursor() - Method in class org.crsh.term.console.Console
 
getCommand(String) - Method in class org.crsh.shell.impl.CRaSH
Attempt to obtain a command instance.
getConsumedType() - Method in class org.crsh.command.BaseCommand
 
getConsumedType() - Method in interface org.crsh.command.CommandInvoker
Returns the class of the consumed type.
getConsumedType() - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
getContent() - Method in class org.crsh.vfs.Resource
 
getContext() - Method in class org.crsh.command.BaseCommand
 
getContext() - Method in class org.crsh.command.CRaSHCommand
 
getContext() - Method in class org.crsh.command.GroovyCommand
 
getContext() - Method in class org.crsh.plugin.CRaSHPlugin
 
getContext() - Method in class org.crsh.plugin.PluginLifeCycle
 
getDescriptor() - Method in class org.crsh.command.CRaSHCommand
Returns the command descriptor.
getDescriptor() - Method in class org.crsh.plugin.Property
 
getElements() - Method in class org.crsh.display.DisplayBuilder
 
getElements() - Method in class org.crsh.shell.ui.UIBuilder
 
getExecutor() - Method in class org.crsh.term.CRaSHLifeCycle
 
getGroovyShell() - Method in class org.crsh.shell.impl.CRaSH
 
getInputStream() - Method in class org.crsh.util.BytesOutputStream
 
getLine() - Method in class org.crsh.term.TermEvent.Complete
 
getLine() - Method in class org.crsh.term.TermEvent.ReadLine
 
getLoader() - Method in class org.crsh.plugin.PluginContext
 
getName() - Method in class org.crsh.shell.ShellResponse.UnknownCommand
 
getName() - Method in class org.crsh.vfs.File
 
getName() - Method in class org.crsh.vfs.Path
 
getNode(int) - Method in class org.crsh.display.structure.TreeElement
 
getNode(int) - Method in class org.crsh.shell.ui.TreeElement
 
getObject() - Method in class org.crsh.util.TimestampedObject
 
getPath() - Method in class org.crsh.vfs.File
 
getPluginContext(ServletContext) - Static method in class org.crsh.plugin.WebPluginLifeCycle
Returns a plugin context associated with the servlet context or null if such context does not exist.
getPlugins() - Method in class org.crsh.plugin.PluginManager
 
getPrefix(String) - Static method in class org.crsh.util.XML
 
getProduced() - Method in class org.crsh.shell.ShellResponse.Ok
 
getProducedType() - Method in class org.crsh.command.BaseCommand
 
getProducedType() - Method in interface org.crsh.command.CommandInvoker
Returns the class of the produced type.
getProducedType() - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
getPrompt() - Method in class org.crsh.shell.concurrent.AsyncShell
 
getPrompt() - Method in class org.crsh.shell.impl.CRaSH
 
getPrompt() - Method in interface org.crsh.shell.Shell
Returns the shell prompt.
getProperty(String) - Method in class org.crsh.command.GroovyCommand
 
getProperty(PropertyDescriptor<T>) - Method in class org.crsh.plugin.PluginContext
Returns a context property or null if it cannot be found.
getProperty(String) - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
getReader() - Method in class org.crsh.term.console.Console
Returns the console reader.
getResource() - Method in class org.crsh.vfs.File
 
getResponse() - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
getShellContext() - Method in class org.crsh.term.CRaSHLifeCycle
 
getShellFactory() - Method in class org.crsh.term.CRaSHLifeCycle
 
getSize() - Method in class org.crsh.display.structure.TreeElement
 
getSize() - Method in class org.crsh.shell.ui.TreeElement
 
getSize() - Method in class org.crsh.term.console.ConsoleReader
 
getSize() - Method in class org.crsh.vfs.Path
 
getStatus() - Method in class org.crsh.shell.concurrent.AsyncShell
 
getText() - Method in class org.crsh.display.SimpleDisplayContext
 
getText() - Method in class org.crsh.shell.ShellResponse.Cancelled
 
getText() - Method in class org.crsh.shell.ShellResponse.Close
 
getText() - Method in class org.crsh.shell.ShellResponse.Display
 
getText() - Method in class org.crsh.shell.ShellResponse.Error
 
getText() - Method in class org.crsh.shell.ShellResponse
 
getText() - Method in class org.crsh.shell.ShellResponse.NoCommand
 
getText() - Method in class org.crsh.shell.ShellResponse.Ok
 
getText() - Method in class org.crsh.shell.ShellResponse.SyntaxError
 
getText() - Method in class org.crsh.shell.ShellResponse.UnknownCommand
 
getThrowable() - Method in class org.crsh.shell.ShellResponse.Error
 
getTimestamp() - Method in class org.crsh.util.TimestampedObject
 
getTimestamp() - Method in class org.crsh.vfs.Resource
 
getType() - Method in class org.crsh.shell.ShellResponse.Error
 
getUnmatched() - Method in class org.crsh.command.CRaSHCommand
 
getUnquoteArguments() - Method in class org.crsh.command.BaseCommand
Returns true if the command wants its arguments to be unquoted.
getUnquoteArguments() - Method in class org.crsh.command.CRaSHCommand
Returns true if the command wants its arguments to be unquoted.
getURL() - Method in class org.crsh.vfs.File
 
getURL() - Method in class org.crsh.vfs.Resource
 
getURLs() - Method in class org.crsh.vfs.File
 
getValue() - Method in class org.crsh.display.structure.LabelElement
 
getValue() - Method in class org.crsh.display.structure.TreeElement
 
getValue() - Method in class org.crsh.plugin.Property
 
getValue() - Method in class org.crsh.shell.ui.LabelElement
 
getValue() - Method in class org.crsh.shell.ui.TreeElement
 
getValue() - Method in class org.crsh.vfs.Path
 
getVersion() - Method in class org.crsh.plugin.PluginContext
 
getViewReader() - Method in class org.crsh.term.console.Console
 
getWelcome() - Method in class org.crsh.shell.concurrent.AsyncShell
 
getWelcome() - Method in class org.crsh.shell.impl.CRaSH
 
getWelcome() - Method in interface org.crsh.shell.Shell
Returns the welcome message.
getWidth() - Method in interface org.crsh.command.InvocationContext
Returns the term width in chars.
getWidth() - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
getWidth() - Method in interface org.crsh.shell.ShellProcessContext
Returns the term width in chars.
getWidth() - Method in class org.crsh.term.BaseTerm
 
getWidth() - Method in class org.crsh.term.ConsoleTerm
 
getWidth() - Method in class org.crsh.term.spi.jline.JLineIO
 
getWidth() - Method in interface org.crsh.term.spi.TermIO
Returns the term width in chars.
getWidth() - Method in interface org.crsh.term.Term
Returns the term width in chars.
getWriter() - Method in interface org.crsh.command.InvocationContext
 
getWriter() - Method in class org.crsh.term.console.Console
 
GroovyCommand - Class in org.crsh.command
A base command that should be subclasses by Groovy commands.
GroovyCommand() - Constructor for class org.crsh.command.GroovyCommand
 
GroovyScriptCommand - Class in org.crsh.shell.impl
This class provides the base class for Groovy scripts.
GroovyScriptCommand() - Constructor for class org.crsh.shell.impl.GroovyScriptCommand
 

H

Handle - Class in org.crsh.vfs.spi.jarurl
 
hashCode() - Method in class org.crsh.vfs.Path
 
hasNext() - Method in class org.crsh.term.console.ConsoleReader
 

I

ImmediateFuture<V> - Class in org.crsh.util
 
ImmediateFuture(V) - Constructor for class org.crsh.util.ImmediateFuture
 
init() - Method in class org.crsh.plugin.CRaSHPlugin
 
init() - Method in class org.crsh.term.CRaSHLifeCycle
 
InvocationContext<C,P> - Interface in org.crsh.command
The invocation context provided to a command during the invocation phase.
invoke(InvocationContext<C, P>) - Method in class org.crsh.command.BaseCommand
 
invoke(InvocationContext<C, P>) - Method in interface org.crsh.command.CommandInvoker
 
invoke(InvocationContext<Void, Void>) - Method in class org.crsh.shell.impl.GroovyScriptCommand
 
invokeMethod(String, Object) - Method in class org.crsh.command.GroovyCommand
 
IO - Class in org.crsh.util
 
IO() - Constructor for class org.crsh.util.IO
 
isCancelled() - Method in class org.crsh.util.ImmediateFuture
 
isDir() - Method in class org.crsh.vfs.File
 
isDir() - Method in class org.crsh.vfs.Path
 
isDir(File) - Method in class org.crsh.vfs.spi.file.FileDriver
 
isDir(H) - Method in interface org.crsh.vfs.spi.FSDriver
 
isDir() - Method in class org.crsh.vfs.spi.jarurl.Handle
 
isDir(Handle) - Method in class org.crsh.vfs.spi.jarurl.JarURLDriver
 
isDir(H) - Method in class org.crsh.vfs.spi.mount.MountDriver
 
isDir(String) - Method in class org.crsh.vfs.spi.servlet.ServletContextDriver
 
isDone() - Method in class org.crsh.util.ImmediateFuture
 
isEchoing() - Method in class org.crsh.term.console.Console
 
isPiped() - Method in interface org.crsh.command.InvocationContext
Returns true if the command is involved in a pipe operation and receives a stream.
iterator() - Method in class org.crsh.vfs.Path
 

J

JarURLDriver - Class in org.crsh.vfs.spi.jarurl
 
JarURLDriver(JarURLConnection) - Constructor for class org.crsh.vfs.spi.jarurl.JarURLDriver
 
JLineIO - Class in org.crsh.term.spi.jline
 
JLineIO() - Constructor for class org.crsh.term.spi.jline.JLineIO
 

L

LabelElement - Class in org.crsh.display.structure
 
LabelElement(String) - Constructor for class org.crsh.display.structure.LabelElement
 
LabelElement(Object) - Constructor for class org.crsh.display.structure.LabelElement
 
LabelElement - Class in org.crsh.shell.ui
 
LabelElement(String) - Constructor for class org.crsh.shell.ui.LabelElement
 
LabelElement(Object) - Constructor for class org.crsh.shell.ui.LabelElement
 
lineFeed() - Method in interface org.crsh.shell.io.ShellWriterContext
 
LineFeedWriter - Class in org.crsh.util
 
LineFeedWriter(Appendable) - Constructor for class org.crsh.util.LineFeedWriter
 
LineFeedWriter(Appendable, String) - Constructor for class org.crsh.util.LineFeedWriter
 
list(Iterable<E>) - Static method in class org.crsh.util.Utils
 
listResourceId(ResourceKind) - Method in class org.crsh.plugin.PluginContext
 
loadResource(String, ResourceKind) - Method in class org.crsh.plugin.PluginContext
 
log - Variable in class org.crsh.plugin.CRaSHPlugin
.
log - Variable in class org.crsh.plugin.PluginLifeCycle
.

M

Main - Class in org.crsh.standalone
 
Main() - Constructor for class org.crsh.standalone.Main
 
main(String[]) - Static method in class org.crsh.standalone.Main
 
mount(FSDriver<H>, Path) - Method in class org.crsh.vfs.FS
 
mount(FSDriver<H>, String) - Method in class org.crsh.vfs.FS
 
mount(FSDriver<H>) - Method in class org.crsh.vfs.FS
 
mount(File) - Method in class org.crsh.vfs.FS
 
mount(ClassLoader, Path) - Method in class org.crsh.vfs.FS
 
mount(Class<?>) - Method in class org.crsh.vfs.FS
 
MountDriver<H> - Class in org.crsh.vfs.spi.mount
The mount driver mounts path of a driver.
MountDriver(Path, FSDriver<H>) - Constructor for class org.crsh.vfs.spi.mount.MountDriver
 
moveLeft() - Method in class org.crsh.term.console.ViewReader
 
moveLeft() - Method in class org.crsh.term.spi.jline.JLineIO
 
moveLeft() - Method in interface org.crsh.term.spi.TermIO
Move the cursor left.
moveRight() - Method in class org.crsh.term.console.ViewReader
 
moveRight(char) - Method in class org.crsh.term.spi.jline.JLineIO
 
moveRight(char) - Method in interface org.crsh.term.spi.TermIO
Move the cursor right.

N

name - Variable in class org.crsh.plugin.PropertyDescriptor
.
name(File) - Method in class org.crsh.vfs.spi.file.FileDriver
 
name(H) - Method in interface org.crsh.vfs.spi.FSDriver
 
name(Handle) - Method in class org.crsh.vfs.spi.jarurl.JarURLDriver
 
name(H) - Method in class org.crsh.vfs.spi.mount.MountDriver
 
name(String) - Method in class org.crsh.vfs.spi.servlet.ServletContextDriver
 
newArrayList() - Static method in class org.crsh.util.Utils
 
newHashMap() - Static method in class org.crsh.util.Utils
 
newHashSet() - Static method in class org.crsh.util.Utils
 
newLinkedList() - Static method in class org.crsh.util.Utils
 
next() - Method in class org.crsh.term.console.ConsoleReader
 
nodeCompleted(Object, Object) - Method in class org.crsh.display.DisplayBuilder
 
nodeCompleted(Object, Object) - Method in class org.crsh.shell.ui.UIBuilder
 

O

org.crsh - package org.crsh
 
org.crsh.command - package org.crsh.command
 
org.crsh.display - package org.crsh.display
 
org.crsh.display.structure - package org.crsh.display.structure
 
org.crsh.groovy - package org.crsh.groovy
 
org.crsh.plugin - package org.crsh.plugin
 
org.crsh.shell - package org.crsh.shell
 
org.crsh.shell.concurrent - package org.crsh.shell.concurrent
 
org.crsh.shell.impl - package org.crsh.shell.impl
 
org.crsh.shell.io - package org.crsh.shell.io
 
org.crsh.shell.ui - package org.crsh.shell.ui
 
org.crsh.standalone - package org.crsh.standalone
 
org.crsh.term - package org.crsh.term
 
org.crsh.term.console - package org.crsh.term.console
 
org.crsh.term.spi - package org.crsh.term.spi
 
org.crsh.term.spi.jline - package org.crsh.term.spi.jline
 
org.crsh.util - package org.crsh.util
 
org.crsh.vfs - package org.crsh.vfs
 
org.crsh.vfs.spi - package org.crsh.vfs.spi
 
org.crsh.vfs.spi.file - package org.crsh.vfs.spi.file
 
org.crsh.vfs.spi.jarurl - package org.crsh.vfs.spi.jarurl
 
org.crsh.vfs.spi.mount - package org.crsh.vfs.spi.mount
 
org.crsh.vfs.spi.servlet - package org.crsh.vfs.spi.servlet
 
OutputCode - Class in org.crsh.util
 
OutputCode() - Constructor for class org.crsh.util.OutputCode
 

P

pad(Appendable) - Method in interface org.crsh.shell.io.ShellWriterContext
 
parse(String) - Method in class org.crsh.plugin.PropertyDescriptor
 
Path - Class in org.crsh.vfs
 
PluginContext - Class in org.crsh.plugin
The plugin context.
PluginContext(FS, ClassLoader) - Constructor for class org.crsh.plugin.PluginContext
Create a new plugin context.
PluginLifeCycle - Class in org.crsh.plugin
 
PluginLifeCycle() - Constructor for class org.crsh.plugin.PluginLifeCycle
 
PluginManager<P extends CRaSHPlugin> - Class in org.crsh.plugin
 
PluginManager(PluginContext, Class<P>) - Constructor for class org.crsh.plugin.PluginManager
 
print(char[], int, int) - Method in class org.crsh.display.DisplayContext
 
print(char[], int, int) - Method in class org.crsh.display.SimpleDisplayContext
 
print(DisplayContext) - Method in class org.crsh.display.structure.Element
 
print(PrintStream) - Method in class org.crsh.display.structure.Element
 
print(PrintWriter) - Method in class org.crsh.display.structure.Element
 
print(PrintWriter) - Method in class org.crsh.display.structure.LabelElement
 
print(PrintWriter) - Method in class org.crsh.display.structure.TreeElement
 
print(Object) - Method in class org.crsh.shell.io.ShellPrinter
 
print(ShellWriter) - Method in class org.crsh.shell.ui.Element
 
printer() - Method in class org.crsh.display.DisplayContext
 
println() - Method in class org.crsh.display.DisplayContext
 
println() - Method in class org.crsh.display.SimpleDisplayContext
 
println(Object) - Method in class org.crsh.shell.io.ShellPrinter
 
process(String, ShellProcessContext) - Method in class org.crsh.shell.concurrent.AsyncShell
 
process(String, ShellProcessContext) - Method in class org.crsh.shell.impl.CRaSH
 
process(String, ShellProcessContext) - Method in interface org.crsh.shell.Shell
Process a request.
Processor - Class in org.crsh
 
Processor(Term, Shell) - Constructor for class org.crsh.Processor
 
ProcessorListener - Interface in org.crsh
 
produce(P) - Method in interface org.crsh.command.InvocationContext
 
Property<T> - Class in org.crsh.plugin
 
Property(PropertyDescriptor<T>, T) - Constructor for class org.crsh.plugin.Property
 
PropertyDescriptor<T> - Class in org.crsh.plugin
 

Q

qName(String) - Static method in class org.crsh.util.XML
 

R

read() - Method in class org.crsh.term.BaseTerm
 
read() - Method in class org.crsh.term.ConsoleTerm
 
read() - Method in class org.crsh.term.spi.jline.JLineIO
 
read() - Method in interface org.crsh.term.spi.TermIO
Reads an input value.
read() - Method in interface org.crsh.term.Term
Read the next term event.
read() - Method in class org.crsh.util.SubInputStream
 
readAsBytes(InputStream) - Static method in class org.crsh.util.IO
 
readAsUTF8(InputStream) - Static method in class org.crsh.util.IO
 
readLine(String) - Method in class org.crsh.command.BaseCommand
 
readLine(String, boolean) - Method in class org.crsh.command.BaseCommand
 
readLine(String) - Method in class org.crsh.command.CRaSHCommand
 
readLine(String, boolean) - Method in class org.crsh.command.CRaSHCommand
 
readLine(String, boolean) - Method in interface org.crsh.command.InvocationContext
 
readLine(String, boolean) - Method in class org.crsh.shell.concurrent.SyncShellResponseContext
 
readLine(String, boolean) - Method in interface org.crsh.shell.ShellProcessContext
A callback made by the process when it needs to read a line of text on the term.
refresh() - Method in class org.crsh.plugin.PluginContext
Refresh the fs system view.
replace(CharSequence) - Method in class org.crsh.term.console.ViewReader
 
resolve(Type, Class<?>, int) - Static method in class org.crsh.util.TypeResolver
A simplistic implementation, it may not handle all cases but it should handle enough.
Resource - Class in org.crsh.vfs
 
Resource(String, long) - Constructor for class org.crsh.vfs.Resource
 
Resource(String, long, URL) - Constructor for class org.crsh.vfs.Resource
 
ResourceKind - Enum in org.crsh.plugin
 
rethrow(Class<T>, Throwable) - Static method in class org.crsh.util.Safe
 
root() - Method in class org.crsh.vfs.spi.file.FileDriver
 
root() - Method in interface org.crsh.vfs.spi.FSDriver
Returns the root handle.
root() - Method in class org.crsh.vfs.spi.jarurl.JarURLDriver
 
root() - Method in class org.crsh.vfs.spi.mount.MountDriver
 
root() - Method in class org.crsh.vfs.spi.servlet.ServletContextDriver
 
run() - Method in class org.crsh.Processor
 

S

Safe - Class in org.crsh.util
 
Safe() - Constructor for class org.crsh.util.Safe
 
ScriptException - Exception in org.crsh.command
 
ScriptException() - Constructor for exception org.crsh.command.ScriptException
 
ScriptException(String) - Constructor for exception org.crsh.command.ScriptException
 
ScriptException(String, Throwable) - Constructor for exception org.crsh.command.ScriptException
 
ServletContextDriver - Class in org.crsh.vfs.spi.servlet
 
ServletContextDriver(ServletContext) - Constructor for class org.crsh.vfs.spi.servlet.ServletContextDriver
 
setAttribute(String, Object) - Method in class org.crsh.shell.impl.CRaSH
 
setEcho(boolean) - Method in class org.crsh.term.BaseTerm
 
setEcho(boolean) - Method in class org.crsh.term.ConsoleTerm
 
setEcho(boolean) - Method in interface org.crsh.term.Term
Set the echo mode on the term.
setEchoing(boolean) - Method in class org.crsh.term.console.Console
 
setParent(Object, Object) - Method in class org.crsh.display.DisplayBuilder
 
setParent(Object, Object) - Method in class org.crsh.shell.ui.UIBuilder
 
setProperty(String, Object) - Method in class org.crsh.command.GroovyCommand
 
setProperty(PropertyDescriptor<T>, T) - Method in class org.crsh.plugin.PluginContext
Set a context property to a new value.
setProperty(PropertyDescriptor<T>, String) - Method in class org.crsh.plugin.PluginContext
Set a context property to a new value.
setUnquoteArguments(boolean) - Method in class org.crsh.command.BaseCommand
 
setUnquoteArguments(boolean) - Method in class org.crsh.command.CRaSHCommand
 
Shell - Interface in org.crsh.shell
 
ShellCommand - Interface in org.crsh.command
The shell command allows a single source to provide a customized invoker according to the context of the arguments.
ShellFactory - Class in org.crsh.shell
 
ShellFactory(PluginContext) - Constructor for class org.crsh.shell.ShellFactory
 
ShellPrinter - Class in org.crsh.shell.io
The shell printer extends the PrintWriter and prints some objects in a special manner.
ShellPrinter(ShellWriter) - Constructor for class org.crsh.shell.io.ShellPrinter
 
ShellProcess - Interface in org.crsh.shell
The shell process.
ShellProcessContext - Interface in org.crsh.shell
The process context is the main interaction interface between a shell process and its context.
ShellResponse - Class in org.crsh.shell
 
ShellResponse() - Constructor for class org.crsh.shell.ShellResponse
 
ShellResponse.Cancelled - Class in org.crsh.shell
 
ShellResponse.Cancelled() - Constructor for class org.crsh.shell.ShellResponse.Cancelled
 
ShellResponse.Close - Class in org.crsh.shell
 
ShellResponse.Close() - Constructor for class org.crsh.shell.ShellResponse.Close
 
ShellResponse.Display - Class in org.crsh.shell
 
ShellResponse.Display(String) - Constructor for class org.crsh.shell.ShellResponse.Display
 
ShellResponse.Display(Iterable<?>, String) - Constructor for class org.crsh.shell.ShellResponse.Display
 
ShellResponse.Error - Class in org.crsh.shell
 
ShellResponse.Error(ErrorType, Throwable) - Constructor for class org.crsh.shell.ShellResponse.Error
 
ShellResponse.NoCommand - Class in org.crsh.shell
 
ShellResponse.NoCommand() - Constructor for class org.crsh.shell.ShellResponse.NoCommand
 
ShellResponse.Ok - Class in org.crsh.shell
Command execution is terminated.
ShellResponse.Ok() - Constructor for class org.crsh.shell.ShellResponse.Ok
 
ShellResponse.Ok(Iterable<?>) - Constructor for class org.crsh.shell.ShellResponse.Ok
 
ShellResponse.SyntaxError - Class in org.crsh.shell
 
ShellResponse.SyntaxError() - Constructor for class org.crsh.shell.ShellResponse.SyntaxError
 
ShellResponse.UnknownCommand - Class in org.crsh.shell
 
ShellResponse.UnknownCommand(String) - Constructor for class org.crsh.shell.ShellResponse.UnknownCommand
 
ShellWriter - Interface in org.crsh.shell.io
 
ShellWriterContext - Interface in org.crsh.shell.io
 
shutdown() - Method in class org.crsh.plugin.PluginManager
 
shutdown() - Method in class org.crsh.standalone.Bootstrap
 
SimpleDisplayContext - Class in org.crsh.display
 
SimpleDisplayContext(String) - Constructor for class org.crsh.display.SimpleDisplayContext
 
SimpleDisplayContext() - Constructor for class org.crsh.display.SimpleDisplayContext
 
SSH_KEYPATH - Static variable in class org.crsh.plugin.PropertyDescriptor
.
SSH_PORT - Static variable in class org.crsh.plugin.PropertyDescriptor
.
start() - Method in class org.crsh.plugin.CRaSHPlugin
 
start() - Method in class org.crsh.plugin.PluginContext
 
start(PluginContext) - Method in class org.crsh.plugin.PluginLifeCycle
 
Status - Enum in org.crsh.shell.concurrent
 
stop() - Method in class org.crsh.plugin.CRaSHPlugin
 
stop() - Method in class org.crsh.plugin.PluginContext
 
stop() - Method in class org.crsh.plugin.PluginLifeCycle
 
Strings - Class in org.crsh.util
 
Strings() - Constructor for class org.crsh.util.Strings
 
SubInputStream - Class in org.crsh.util
A stream that reads a portion of a delegate input stream.
SubInputStream(InputStream, long) - Constructor for class org.crsh.util.SubInputStream
 
SyncShellResponseContext - Class in org.crsh.shell.concurrent
 
SyncShellResponseContext() - Constructor for class org.crsh.shell.concurrent.SyncShellResponseContext
 
SyncShellResponseContext(ShellProcessContext) - Constructor for class org.crsh.shell.concurrent.SyncShellResponseContext
 
SyntaxException - Exception in org.crsh.command
 
SyntaxException(String) - Constructor for exception org.crsh.command.SyntaxException
 
SyntaxException(String, Throwable) - Constructor for exception org.crsh.command.SyntaxException
 

T

TELNET_PORT - Static variable in class org.crsh.plugin.PropertyDescriptor
.
Term - Interface in org.crsh.term
An high level term abstraction.
TermEvent - Class in org.crsh.term
An event emitted by a term.
TermEvent() - Constructor for class org.crsh.term.TermEvent
 
TermEvent.Break - Class in org.crsh.term
Signals a control-break.
TermEvent.Break() - Constructor for class org.crsh.term.TermEvent.Break
 
TermEvent.Close - Class in org.crsh.term
Signals a control-break.
TermEvent.Close() - Constructor for class org.crsh.term.TermEvent.Close
 
TermEvent.Complete - Class in org.crsh.term
Signals the completion of a text line.
TermEvent.Complete(CharSequence) - Constructor for class org.crsh.term.TermEvent.Complete
 
TermEvent.ReadLine - Class in org.crsh.term
Signals a line was submitted for processing.
TermEvent.ReadLine(CharSequence) - Constructor for class org.crsh.term.TermEvent.ReadLine
 
TermIO - Interface in org.crsh.term.spi
The input/output of a term.
text(CharSequence, int, int) - Method in interface org.crsh.shell.io.ShellWriterContext
 
TimestampedObject<T> - Class in org.crsh.util
 
TimestampedObject(long, T) - Constructor for class org.crsh.util.TimestampedObject
 
toProperty(String) - Method in class org.crsh.plugin.PropertyDescriptor
 
toString() - Method in class org.crsh.display.structure.LabelElement
 
toString() - Method in class org.crsh.shell.ShellResponse.Error
 
toString() - Method in class org.crsh.shell.ui.LabelElement
 
toString() - Method in class org.crsh.term.TermEvent.Complete
 
toString() - Method in class org.crsh.term.TermEvent.ReadLine
 
toString() - Method in class org.crsh.term.TermEvent
 
toString() - Method in class org.crsh.vfs.File
 
toString() - Method in class org.crsh.vfs.Path
 
toURL(File) - Method in class org.crsh.vfs.spi.file.FileDriver
 
toURL(H) - Method in interface org.crsh.vfs.spi.FSDriver
 
toURL() - Method in class org.crsh.vfs.spi.jarurl.Handle
 
toURL(Handle) - Method in class org.crsh.vfs.spi.jarurl.JarURLDriver
 
toURL(H) - Method in class org.crsh.vfs.spi.mount.MountDriver
 
toURL(String) - Method in class org.crsh.vfs.spi.servlet.ServletContextDriver
The implementation attempts to get an URL that will be valid for the file system first (when the war is usually exploded) and if it is not able, it will delegate to ServletContext.getResource(String).
TreeElement - Class in org.crsh.display.structure
 
TreeElement() - Constructor for class org.crsh.display.structure.TreeElement
 
TreeElement(Element) - Constructor for class org.crsh.display.structure.TreeElement
 
TreeElement - Class in org.crsh.shell.ui
 
TreeElement() - Constructor for class org.crsh.shell.ui.TreeElement
 
TreeElement(Element) - Constructor for class org.crsh.shell.ui.TreeElement
 
trimLeft(String) - Static method in class org.crsh.util.Utils
 
type - Variable in class org.crsh.plugin.PropertyDescriptor
.
TypeResolver - Class in org.crsh.util
 
TypeResolver() - Constructor for class org.crsh.util.TypeResolver
 

U

UIBuilder - Class in org.crsh.shell.ui
 
UIBuilder() - Constructor for class org.crsh.shell.ui.UIBuilder
 
Utils - Class in org.crsh.util
 
Utils() - Constructor for class org.crsh.util.Utils
 

V

valueOf(String) - Static method in enum org.crsh.command.DescriptionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.crsh.plugin.ResourceKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.crsh.shell.concurrent.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.crsh.shell.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.crsh.term.CodeType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.crsh.command.DescriptionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.crsh.plugin.ResourceKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.crsh.shell.concurrent.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.crsh.shell.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.crsh.term.CodeType
Returns an array containing the constants of this enum type, in the order they are declared.
VFS_REFRESH_PERIOD - Static variable in class org.crsh.plugin.PropertyDescriptor
.
VFS_REFRESH_UNIT - Static variable in class org.crsh.plugin.PropertyDescriptor
.
ViewReader - Class in org.crsh.term.console
 
ViewReader() - Constructor for class org.crsh.term.console.ViewReader
 
ViewWriter - Class in org.crsh.term.console
Perform client write.
ViewWriter() - Constructor for class org.crsh.term.console.ViewWriter
 
visit(ASTNode[], SourceUnit) - Method in class org.crsh.groovy.ArgumentNameTransformer
 
visit(ASTNode[], SourceUnit) - Method in class org.crsh.groovy.DefaultImportTransformer
 

W

WebPluginLifeCycle - Class in org.crsh.plugin
 
WebPluginLifeCycle() - Constructor for class org.crsh.plugin.WebPluginLifeCycle
 
write(char[], int, int) - Method in class org.crsh.display.DisplayContext
 
write(CharSequence) - Method in class org.crsh.term.BaseTerm
 
write(CharSequence) - Method in class org.crsh.term.console.ConsoleWriter
Write a char sequence to the output.
write(char) - Method in class org.crsh.term.console.ConsoleWriter
Write a single char to the output.
write(char) - Method in class org.crsh.term.console.ViewReader
 
write(CharSequence) - Method in class org.crsh.term.console.ViewReader
 
write(CharSequence) - Method in class org.crsh.term.console.ViewWriter
 
write(char) - Method in class org.crsh.term.console.ViewWriter
 
write(CharSequence) - Method in class org.crsh.term.ConsoleTerm
 
write(String) - Method in class org.crsh.term.spi.jline.JLineIO
 
write(char) - Method in class org.crsh.term.spi.jline.JLineIO
 
write(String) - Method in interface org.crsh.term.spi.TermIO
Write a string.
write(char) - Method in interface org.crsh.term.spi.TermIO
Write a char.
write(CharSequence) - Method in interface org.crsh.term.Term
Write a message on the console, the text will be appended.
write(char[], int, int) - Method in class org.crsh.util.AppendableWriter
 
writeCRLF() - Method in class org.crsh.term.console.ViewWriter
 
writeCRLF() - Method in class org.crsh.term.spi.jline.JLineIO
 
writeCRLF() - Method in interface org.crsh.term.spi.TermIO
Write a CRLF.
writeDel() - Method in class org.crsh.term.console.ViewWriter
 
writeDel() - Method in class org.crsh.term.spi.jline.JLineIO
 
writeDel() - Method in interface org.crsh.term.spi.TermIO
Delete the char.
writeMoveLeft() - Method in class org.crsh.term.console.ViewWriter
 
writeMoveRight(char) - Method in class org.crsh.term.console.ViewWriter
 

X

XML - Class in org.crsh.util
 
XML() - Constructor for class org.crsh.util.XML
 

A B C D E F G H I J L M N O P Q R S T U V W X

Copyright © 2011 eXo Platform SAS. All Rights Reserved.