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 |
---|---|
private CommandResolution |
LanguageCommandResolver.resolveCommand(Compiler manager,
String name,
Resource script) |
Command<?> |
LanguageCommandResolver.resolveCommand(String name) |
private CommandResolution |
LanguageCommandResolver.resolveCommand2(String name) |
Modifier and Type | Method and Description |
---|---|
CommandResolution |
GroovyCompiler.compileCommand(String name,
byte[] source) |
GroovyScript |
GroovyLanguage.getLifeCycle(ShellSession session,
String name) |
Class<? extends T> |
GroovyClassFactory.parse(String name,
String source) |
Modifier and Type | Method and Description |
---|---|
(package private) CommandInvoker |
CommandElement.create() |
(package private) abstract CommandInvoker |
PipeLineElement.create() |
void |
PipeLineInvoker.invoke(InvocationContext<Object> context) |
void |
ClosureInvoker.provide(Object element) |
CommandInvoker<?,?> |
PipeLineInvocationContext.resolve(String s) |
(package private) LinkedList<CommandInvoker> |
PipeLineClosure.resolve2(Object[] args) |
Modifier and Type | Method and Description |
---|---|
private T |
GroovyScriptShellCommand.createCommand() |
protected Completer |
GroovyScriptShellCommand.getCompleter(RuntimeContext context) |
private CommandInvoker<Void,Object> |
GroovyScriptShellCommand.getInvoker(String[] args) |
Modifier and Type | Method and Description |
---|---|
CommandResolution |
JavaCompiler.compileCommand(String name,
byte[] source) |
(package private) T |
ClassShellCommand.createCommand() |
protected Completer |
ClassShellCommand.getCompleter(RuntimeContext context) |
CommandInvoker<C,P> |
BaseCommandMatch.getInvoker() |
(package private) abstract BaseCommandMatch.BaseInvoker |
BaseCommandMatch.getInvoker(T command) |
(package private) BaseCommandMatch.BaseInvoker |
PipeCommandMatch.getInvoker(T command) |
(package private) BaseCommandMatch.BaseInvoker |
ProducerCommandMatch.getInvoker(T command) |
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<?> |
CRaSHSession.getCommand(String name) |
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) |
private CommandContext |
PipeLine.open(int index,
CommandContext last) |
Modifier and Type | Method and Description |
---|---|
abstract void |
CommandInvoker.close() |
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 |
---|---|
private <C extends BaseCommand> |
SystemResolver.createCommand(Class<C> commandClass) |
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.