org.crsh.lang.groovy.repl
Class GroovyREPL
java.lang.Object
org.crsh.lang.groovy.repl.GroovyREPL
- All Implemented Interfaces:
- REPL
public class GroovyREPL
- extends Object
- implements REPL
Groovy REPL implementation.
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyREPL
public GroovyREPL()
getName
public String getName()
- Description copied from interface:
REPL
- Return the repl name.
- Specified by:
getName in interface REPL
- Returns:
- the repl name
eval
public EvalResponse eval(REPLSession session,
String request)
- Description copied from interface:
REPL
- Evaluate a request
- Specified by:
eval in interface REPL
- Parameters:
session - the sessionrequest - the request to evaluate
- Returns:
- the evaluation response
complete
public CompletionMatch complete(REPLSession session,
String prefix)
- Specified by:
complete in interface REPL
Copyright © 2013 eXo Platform SAS. All Rights Reserved.