| Modifier and Type | Method and Description |
|---|---|
void |
BaseCommand.execute(String s) |
CommandInvoker<?,?> |
InvocationContext.resolve(String s)
Resolve a command invoker for the specified command line.
|
| Modifier and Type | Method and Description |
|---|---|
Command<?> |
LanguageCommandResolver.resolveCommand(String name) |
| Modifier and Type | Method and Description |
|---|---|
CommandResolution |
GroovyCompiler.compileCommand(String name,
byte[] source) |
GroovyScript |
GroovyLanguage.getLifeCycle(ShellSession session,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
PipeLineInvoker.invoke(InvocationContext<Object> context) |
void |
ClosureInvoker.provide(Object element) |
| Modifier and Type | Method and Description |
|---|---|
protected Completer |
GroovyScriptShellCommand.getCompleter(RuntimeContext context) |
| Modifier and Type | Method and Description |
|---|---|
CommandResolution |
JavaCompiler.compileCommand(String name,
byte[] source) |
protected Completer |
ClassShellCommand.getCompleter(RuntimeContext context) |
| Modifier and Type | Method and Description |
|---|---|
CommandResolution |
ScriptCompiler.compileCommand(String name,
byte[] source) |
CommandInvoker<Void,Object> |
PipeLineFactory.create(ShellSession session) |
PipeLineFactory |
Token.createFactory() |
| Constructor and Description |
|---|
PipeLineFactory(String line,
PipeLineFactory next)
Create a pipeline factory for the specified line and next factory
|
| Modifier and Type | Method and Description |
|---|---|
CommandResolution |
Compiler.compileCommand(String name,
byte[] source)
Compile a command..
|
Command<?> |
CommandResolution.getCommand() |
| Modifier and Type | Method and Description |
|---|---|
Command<?> |
CRaSH.getCommand(String name)
Attempt to obtain a command instance.
|
Command<?> |
ShellSession.getCommand(String name) |
CommandInvoker<?,?> |
InvocationContextImpl.resolve(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
PipeLine.close() |
void |
PipeLine.open(CommandContext<? super Object> consumer) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
CommandInvoker.close() |
org.crsh.cli.impl.completion.CompletionMatch |
Command.complete(RuntimeContext context,
String line)
Provide completions for the specified arguments.
|
String |
Command.describe(String line,
Format format)
Returns a description of the command or null if none can be found.
|
protected abstract Completer |
Command.getCompleter(RuntimeContext context)
Returns a completer for this command.
|
abstract CommandInvoker<C,P> |
CommandMatch.getInvoker() |
void |
CommandInvoker.invoke(CommandContext<? super P> consumer)
Invoke the command.
|
abstract void |
CommandInvoker.open(CommandContext<? super P> consumer) |
abstract void |
CommandInvoker.provide(C element) |
CommandMatch<?,?> |
Command.resolveCommand(Map<String,?> options,
String subordinate,
Map<String,?> subordinateOptions,
List<?> arguments)
Provides an invoker for the command line specified in a detyped manner.
|
CommandMatch<?,?> |
Command.resolveCommand(String line) |
Command<?> |
CommandResolver.resolveCommand(String name)
Attempt to obtain a command.
|
CommandInvoker<?,?> |
Command.resolveInvoker(String line)
Provides an invoker for the command line specified as a command line to parse.
|
| Modifier and Type | Method and Description |
|---|---|
Command<?> |
SystemResolver.resolveCommand(String name) |
| Modifier and Type | Method and Description |
|---|---|
TimestampedObject<Class<? extends T>> |
ClassCache.getClass(String name) |
abstract Class<? extends T> |
ClassFactory.parse(String name,
String source) |
Copyright © 2015 eXo Platform SAS. All Rights Reserved.