public class ScriptRepl extends Object implements Repl
| Modifier and Type | Field and Description |
|---|---|
private static ScriptRepl |
instance
.
|
(package private) static Logger |
log
.
|
| Modifier | Constructor and Description |
|---|---|
private |
ScriptRepl() |
| Modifier and Type | Method and Description |
|---|---|
CompletionMatch |
complete(ReplSession session,
String prefix)
Perform completion.
|
EvalResponse |
eval(ReplSession session,
String request)
Evaluate a request
|
String |
getDescription()
Returns a descripton of the REPL.
|
static ScriptRepl |
getInstance() |
String |
getName()
Return the repl name.
|
boolean |
isActive()
Return true if this REPL is active.
|
private static final ScriptRepl instance
private ScriptRepl()
public static ScriptRepl getInstance()
public boolean isActive()
Replpublic String getDescription()
ReplgetDescription in interface Replpublic EvalResponse eval(ReplSession session, String request)
Replpublic CompletionMatch complete(ReplSession session, String prefix)
ReplCopyright © 2014 eXo Platform SAS. All Rights Reserved.