public abstract class GroovyCommand extends BaseCommand implements groovy.lang.GroovyObject
unmatchedcontext, out| Modifier | Constructor and Description |
|---|---|
protected |
GroovyCommand() |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args) |
void |
setMetaClass(groovy.lang.MetaClass metaClass) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
java.lang.reflect.UndeclaredThrowableException |
toScript(java.lang.Throwable cause) |
static ScriptException |
unwrap(groovy.util.ScriptException cause) |
static ScriptException |
unwrap(java.lang.Throwable cause) |
execute, getUnmatched, readLine, readLinepeekContext, popContext, pushContextprotected GroovyCommand()
throws org.crsh.cli.impl.descriptor.IntrospectionException
public java.lang.reflect.UndeclaredThrowableException toScript(java.lang.Throwable cause)
toScript in class BaseCommandpublic static ScriptException unwrap(groovy.util.ScriptException cause)
public static ScriptException unwrap(java.lang.Throwable cause)
public final java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
invokeMethod in interface groovy.lang.GroovyObjectpublic final java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectpublic final void setProperty(java.lang.String property,
java.lang.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.