org.crsh.command
Class AbstractCommand

java.lang.Object
  extended by org.crsh.command.AbstractCommand
Direct Known Subclasses:
BaseCommand

public abstract class AbstractCommand
extends Object


Field Summary
 RuntimeContext context
          The current context : need to find a way to make not that public.
protected  RenderPrintWriter out
          The current output.
private  LinkedList<InvocationContext<?>> stack
          .
 
Constructor Summary
protected AbstractCommand()
           
 
Method Summary
 InvocationContext<?> peekContext()
           
 InvocationContext<?> popContext()
           
 void pushContext(InvocationContext<?> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private LinkedList<InvocationContext<?>> stack
.


context

public RuntimeContext context
The current context : need to find a way to make not that public.


out

protected RenderPrintWriter out
The current output.

Constructor Detail

AbstractCommand

protected AbstractCommand()
Method Detail

pushContext

public final void pushContext(InvocationContext<?> context)
                       throws NullPointerException
Throws:
NullPointerException

popContext

public final InvocationContext<?> popContext()

peekContext

public final InvocationContext<?> peekContext()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.