org.crsh.shell
Class Shell

java.lang.Object
  extended by org.crsh.shell.Shell

public class Shell
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Shell(ShellContext context)
           
 
Method Summary
 void close()
           
 ShellResponse evaluate(java.lang.String s)
           
 java.lang.Object getAttribute(java.lang.String name)
           
 groovy.lang.GroovyShell getGroovyShell()
           
 java.lang.String getPrompt()
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 java.util.concurrent.Future<ShellResponse> submitEvaluation(java.lang.String s, CompletionHandler<ShellResponse> handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shell

public Shell(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)

getPrompt

public java.lang.String getPrompt()

close

public void close()

evaluate

public ShellResponse evaluate(java.lang.String s)

submitEvaluation

public java.util.concurrent.Future<ShellResponse> submitEvaluation(java.lang.String s,
                                                                   CompletionHandler<ShellResponse> handler)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.