public class GroovyLanguage extends Object implements Language
| Modifier and Type | Field and Description |
|---|---|
private GroovyCompiler |
compiler
.
|
private GroovyRepl |
repl
.
|
private ClassCache<GroovyScript> |
scriptCache
.
|
| Constructor and Description |
|---|
GroovyLanguage(PluginContext context) |
| Modifier and Type | Method and Description |
|---|---|
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() |
private ClassCache<GroovyScript> scriptCache
private GroovyRepl repl
private GroovyCompiler compiler
public GroovyLanguage(PluginContext context)
public String getDisplayName()
getDisplayName in interface Languagepublic boolean isActive()
public Compiler getCompiler()
getCompiler in interface Languagepublic void init(ShellSession session)
Languagepublic void destroy(ShellSession session)
Languagepublic GroovyScript getLifeCycle(ShellSession session, String name) throws CommandException, NullPointerException
CommandExceptionNullPointerExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.