public abstract class GroovyCommand extends BaseCommand implements groovy.lang.GroovyObject
| Modifier and Type | Field and Description |
|---|---|
private groovy.lang.MetaClass |
metaClass |
log, unmatchedcontext, out| Modifier | Constructor and Description |
|---|---|
protected |
GroovyCommand() |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String name,
Object args) |
void |
setMetaClass(groovy.lang.MetaClass metaClass) |
void |
setProperty(String property,
Object newValue) |
static Exception |
unwrap(Exception cause) |
static ScriptException |
unwrap(groovy.util.ScriptException cause) |
execute, getUnmatched, readLine, readLinepeekContext, popContext, pushContextprivate transient groovy.lang.MetaClass metaClass
protected GroovyCommand()
public static ScriptException unwrap(groovy.util.ScriptException cause)
public final Object invokeMethod(String name, Object args)
invokeMethod in interface groovy.lang.GroovyObjectpublic final Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic final void setProperty(String property, Object newValue)
setProperty in interface groovy.lang.GroovyObjectpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass in interface groovy.lang.GroovyObjectCopyright © 2015 eXo Platform SAS. All Rights Reserved.