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) |
UndeclaredThrowableException |
toScript(Throwable cause) |
static ScriptException |
unwrap(groovy.util.ScriptException cause) |
static ScriptException |
unwrap(Throwable cause) |
execute, getUnmatched, readLine, readLinepeekContext, popContext, pushContextprivate transient groovy.lang.MetaClass metaClass
protected GroovyCommand() throws IntrospectionException
IntrospectionExceptionpublic UndeclaredThrowableException toScript(Throwable cause)
toScript in class BaseCommandpublic static ScriptException unwrap(groovy.util.ScriptException cause)
public static ScriptException unwrap(Throwable 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 © 2014 eXo Platform SAS. All Rights Reserved.