org.crsh.command
Interface InvocationContext<P>
- All Superinterfaces:
- Consumer<P>, Flushable, InteractionContext, IOContext<P>, Pipe<P>, ProducerContext<P>, SessionContext
- All Known Implementing Classes:
- InnerInvocationContext, InvocationContextImpl
public interface InvocationContext<P>
- extends ProducerContext<P>
| Methods inherited from interface org.crsh.io.Pipe |
provide |
getWriter
RenderPrintWriter getWriter()
- Returns the writer for the output.
- Returns:
- the writer
resolve
CommandInvoker<?,?> resolve(String s)
throws ScriptException,
IOException
- Resolve a command invoker for the specified command line.
- Parameters:
s - the command line
- Returns:
- the command invoker
- Throws:
ScriptException - any script exception
IOException - any io exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.