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 Language
public boolean isActive()
public Compiler getCompiler()
getCompiler
in interface Language
public void init(ShellSession session)
Language
public void destroy(ShellSession session)
Language
public GroovyScript getLifeCycle(ShellSession session, String name) throws CommandException, NullPointerException
CommandException
NullPointerException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.