org.crsh.command
Interface CommandContext<P>

All Superinterfaces:
Appendable, Consumer<P>, InteractionContext, RuntimeContext, Screenable, ScreenContext
All Known Subinterfaces:
InvocationContext<P>
All Known Implementing Classes:
AbstractInvocationContext, CommandInvokerAdapter, CRaSHProcessContext, InvocationContextImpl, PipeLineInvocationContext

public interface CommandContext<P>
extends Consumer<P>, InteractionContext, RuntimeContext

The command context provides the services for invoking a command.

Author:
Julien Viet

Method Summary
 void close()
           
 
Methods inherited from interface org.crsh.stream.Consumer
flush, getConsumedType, provide
 
Methods inherited from interface org.crsh.shell.InteractionContext
getProperty, readLine, releaseAlternateBuffer, takeAlternateBuffer
 
Methods inherited from interface org.crsh.text.ScreenContext
flush, getHeight, getWidth
 
Methods inherited from interface org.crsh.text.Screenable
append, cls
 
Methods inherited from interface java.lang.Appendable
append, append, append
 
Methods inherited from interface org.crsh.command.RuntimeContext
getAttributes, getSession
 

Method Detail

close

void close()
           throws Exception
Throws:
Exception


Copyright © 2015 eXo Platform SAS. All Rights Reserved.