|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.lang.impl.groovy.GroovyLanguage
public class GroovyLanguage
Field Summary | |
---|---|
private GroovyCompiler |
compiler
. |
private GroovyRepl |
repl
. |
private ClassCache<GroovyScript> |
scriptCache
. |
Constructor Summary | |
---|---|
GroovyLanguage(PluginContext context)
|
Method Summary | |
---|---|
void |
destroy(ShellSession session)
Destroy session callback. |
Compiler |
getCompiler()
|
String |
getDisplayName()
|
GroovyScript |
getLifeCycle(ShellSession session,
String name)
|
String |
getName()
|
Repl |
getRepl()
|
void |
init(ShellSession session)
Init session callback. |
boolean |
isActive()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ClassCache<GroovyScript> scriptCache
private GroovyRepl repl
private GroovyCompiler compiler
Constructor Detail |
---|
public GroovyLanguage(PluginContext context)
Method Detail |
---|
public String getName()
getName
in interface Language
public String getDisplayName()
getDisplayName
in interface Language
public boolean isActive()
isActive
in interface Language
public Repl getRepl()
getRepl
in interface Language
public Compiler getCompiler()
getCompiler
in interface Language
public void init(ShellSession session)
Language
init
in interface Language
session
- the initialized sessionpublic void destroy(ShellSession session)
Language
destroy
in interface Language
session
- the destroyed sessionpublic GroovyScript getLifeCycle(ShellSession session, String name) throws CommandException, NullPointerException
CommandException
NullPointerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |