org.crsh.command
Interface CommandContext<P>

All Superinterfaces:
Closeable, Consumer<P>, Flushable, InteractionContext<P>, RuntimeContext, ScreenContext<P>
All Known Subinterfaces:
InvocationContext<P>
All Known Implementing Classes:
CRaSHProcessContext, InnerInvocationContext, InvocationContextImpl, Pipe, PipeFilter, PipeFilter.Chunkizer, PipeFilter.Noop, PipeFilter.Sink

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

The command context provides the services for invoking a command.

Author:
Julien Viet

Method Summary
 boolean isPiped()
           
 
Methods inherited from interface org.crsh.shell.InteractionContext
getProperty, readLine, releaseAlternateBuffer, takeAlternateBuffer
 
Methods inherited from interface org.crsh.shell.ScreenContext
getHeight, getWidth
 
Methods inherited from interface org.crsh.io.Consumer
getConsumedType, provide
 
Methods inherited from interface java.io.Flushable
flush
 
Methods inherited from interface org.crsh.command.RuntimeContext
getAttributes, getSession
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

isPiped

boolean isPiped()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.