|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.plugin.CRaSHPlugin<Repl>
org.crsh.lang.groovy.GroovyRepl
public class GroovyRepl
| Field Summary | |
|---|---|
private static Repl |
groovyRepl
. |
(package private) static Logger |
log
. |
| Fields inherited from class org.crsh.plugin.CRaSHPlugin |
|---|
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING |
| Constructor Summary | |
|---|---|
GroovyRepl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.crsh.plugin.CRaSHPlugin |
|---|
createConfigurationCapabilities, destroy, getConfigurationCapabilities, getContext, getStatus, getType, init, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final Logger log
private static final Repl groovyRepl
| Constructor Detail |
|---|
public GroovyRepl()
| Method Detail |
|---|
public static Repl getREPL()
public Repl getImplementation()
CRaSHPlugin
getImplementation in class CRaSHPlugin<Repl>public boolean isActive()
Repl
isActive in interface Replpublic String getName()
Repl
getName in interface Replpublic String getDescription()
Repl
getDescription in interface Repl
public EvalResponse eval(ReplSession session,
String request)
Repl
eval in interface Replsession - the sessionrequest - the request to evaluate
public CompletionMatch complete(ReplSession session,
String prefix)
Repl
complete in interface Replsession - the sessionprefix - the prefix to complete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||