org.crsh.shell
Class ClassCommand
java.lang.Object
groovy.lang.GroovyObjectSupport
org.crsh.shell.ClassCommand
- All Implemented Interfaces:
- groovy.lang.GroovyObject, ShellCommand
- Direct Known Subclasses:
- AnyArgumentClassCommand
public abstract class ClassCommand
- extends groovy.lang.GroovyObjectSupport
- implements ShellCommand
- Version:
- $Revision$
- Author:
- Julien Viet
|
Method Summary |
protected abstract java.lang.Object |
execute()
|
java.lang.Object |
execute(CommandContext context,
java.lang.String... args)
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
|
void |
setProperty(java.lang.String property,
java.lang.Object newValue)
|
| 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 |
ClassCommand
public ClassCommand()
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class groovy.lang.GroovyObjectSupport
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class groovy.lang.GroovyObjectSupport
setProperty
public void setProperty(java.lang.String property,
java.lang.Object newValue)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class groovy.lang.GroovyObjectSupport
execute
public java.lang.Object execute(CommandContext context,
java.lang.String... args)
throws ScriptException
- Specified by:
execute in interface ShellCommand
- Throws:
ScriptException
execute
protected abstract java.lang.Object execute()
throws ScriptException
- Throws:
ScriptException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.