org.crsh.command
Class GroovyCommand
java.lang.Object
groovy.lang.GroovyObjectSupport
org.crsh.command.GroovyCommand
- All Implemented Interfaces:
- groovy.lang.GroovyObject
- Direct Known Subclasses:
- CRaSHCommand
public abstract class GroovyCommand
- extends groovy.lang.GroovyObjectSupport
A base command that should be subclasses by Groovy commands. For this matter it inherits the
GroovyObjectSupport class.
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, setMetaClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyCommand
public GroovyCommand()
getContext
protected abstract CommandContext getContext()
invokeMethod
public final Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class groovy.lang.GroovyObjectSupport
getProperty
public final Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class groovy.lang.GroovyObjectSupport
setProperty
public final void setProperty(String property,
Object newValue)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class groovy.lang.GroovyObjectSupport
Copyright © 2012 eXo Platform SAS. All Rights Reserved.