org.crsh.command
Interface InvocationContext<P>
- All Superinterfaces:
- Closeable, CommandContext<P>, Consumer<P>, Flushable, InteractionContext<P>, RuntimeContext, ScreenContext<P>
- All Known Implementing Classes:
- InnerInvocationContext, InvocationContextImpl
public interface InvocationContext<P>
- extends CommandContext<P>
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 © 2014 eXo Platform SAS. All Rights Reserved.