public abstract class GroovyCommand extends BaseCommand implements groovy.lang.GroovyObject
Modifier and Type | Field and Description |
---|---|
private groovy.lang.MetaClass |
metaClass |
log, unmatched
context, 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, readLine
peekContext, popContext, pushContext
private 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.GroovyObject
public final Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public final void setProperty(String property, Object newValue)
setProperty
in interface groovy.lang.GroovyObject
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
Copyright © 2015 eXo Platform SAS. All Rights Reserved.