org.crsh.shell.impl.command
Class AbstractInvocationContext<P>

java.lang.Object
  extended by org.crsh.shell.impl.command.AbstractInvocationContext<P>
All Implemented Interfaces:
Appendable, CommandContext<P>, InvocationContext<P>, RuntimeContext, InteractionContext, Consumer<P>, Screenable, ScreenContext
Direct Known Subclasses:
InvocationContextImpl, PipeLineInvocationContext

public abstract class AbstractInvocationContext<P>
extends Object
implements InvocationContext<P>

Author:
Julien Viet

Constructor Summary
AbstractInvocationContext()
           
 
Method Summary
 AbstractInvocationContext<P> leftShift(Object o)
          Implement the << operator for Groovy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.crsh.command.InvocationContext
getWriter, resolve
 
Methods inherited from interface org.crsh.command.CommandContext
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
 

Constructor Detail

AbstractInvocationContext

public AbstractInvocationContext()
Method Detail

leftShift

public final AbstractInvocationContext<P> leftShift(Object o)
                                             throws Exception
Implement the << operator for Groovy.

Parameters:
o - the object
Returns:
this invocation context
Throws:
Exception - any exception


Copyright © 2015 eXo Platform SAS. All Rights Reserved.