org.crsh.shell.impl
Class CRaSH

java.lang.Object
  extended by org.crsh.shell.impl.CRaSH
All Implemented Interfaces:
Shell

public class CRaSH
extends java.lang.Object
implements Shell

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
CRaSH(ShellContext context)
           
 
Method Summary
 void close()
           
 ShellResponse evaluate(java.lang.String request)
           
 ShellResponse evaluate(java.lang.String request, ShellResponseContext responseContext)
           
 java.lang.Object getAttribute(java.lang.String name)
           
 groovy.lang.GroovyShell getGroovyShell()
           
 java.lang.String getPrompt()
           
 java.lang.String getWelcome()
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRaSH

public CRaSH(ShellContext context)
Method Detail

getGroovyShell

public groovy.lang.GroovyShell getGroovyShell()

getAttribute

public java.lang.Object getAttribute(java.lang.String name)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)

close

public void close()

evaluate

public ShellResponse evaluate(java.lang.String request)

getWelcome

public java.lang.String getWelcome()
Specified by:
getWelcome in interface Shell

getPrompt

public java.lang.String getPrompt()
Specified by:
getPrompt in interface Shell

evaluate

public ShellResponse evaluate(java.lang.String request,
                              ShellResponseContext responseContext)
Specified by:
evaluate in interface Shell


Copyright © 2010 eXo Platform SAS. All Rights Reserved.