org.crsh.lang.groovy.command
Class GroovyCommand
java.lang.Object
org.crsh.command.AbstractCommand
org.crsh.command.BaseCommand
org.crsh.lang.groovy.command.GroovyCommand
- All Implemented Interfaces:
- groovy.lang.GroovyObject, ShellCommand
- Direct Known Subclasses:
- CRaSHCommand
public abstract class GroovyCommand
- extends BaseCommand
- implements groovy.lang.GroovyObject
|
Field Summary |
private groovy.lang.MetaClass |
metaClass
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metaClass
private transient groovy.lang.MetaClass metaClass
GroovyCommand
protected GroovyCommand()
throws IntrospectionException
- Throws:
IntrospectionException
toScript
public ScriptException toScript(Throwable cause)
- Overrides:
toScript in class BaseCommand
unwrap
public static ScriptException unwrap(Throwable cause)
invokeMethod
public final Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public final Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public final void setProperty(String property,
Object newValue)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Copyright © 2013 eXo Platform SAS. All Rights Reserved.