org.crsh.lang.script
Class ScriptREPL
java.lang.Object
org.crsh.lang.script.ScriptREPL
- All Implemented Interfaces:
- REPL
public class ScriptREPL
- extends Object
- implements REPL
- Author:
- Julien Viet
|
Field Summary |
(package private) static Logger |
log
. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static final Logger log
- .
ScriptREPL
public ScriptREPL()
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.