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
-
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 |
stack
private LinkedList<InvocationContext<?>> stack
-
.
context
protected RuntimeContext context
-
The current context.
out
protected RenderPrintWriter out
-
The current output.
GroovyCommand
protected GroovyCommand()
pushContext
public final void pushContext(InvocationContext<?> context)
throws NullPointerException
-
- Throws:
NullPointerException
popContext
public final InvocationContext<?> popContext()
-
peekContext
public final InvocationContext<?> peekContext()
-
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 © 2014 eXo Platform SAS. All Rights Reserved.