public class GroovyRepl extends CRaSHPlugin<Repl> implements Repl
| Modifier and Type | Field and Description |
|---|---|
private static Repl |
groovyRepl
.
|
(package private) static Logger |
log
.
|
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING| Constructor and Description |
|---|
GroovyRepl() |
| 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.
|
Repl |
getImplementation()
Returns the implementation.
|
String |
getName()
Return the repl name.
|
static Repl |
getREPL() |
boolean |
isActive()
Return true if this REPL is active.
|
createConfigurationCapabilities, destroy, getConfigurationCapabilities, getContext, getStatus, getType, init, toStringprivate static final Repl groovyRepl
public GroovyRepl()
public Repl getImplementation()
CRaSHPlugingetImplementation in class CRaSHPlugin<Repl>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.