public abstract class GroovyScriptCommand extends groovy.lang.Script
| Modifier and Type | Field and Description |
|---|---|
protected InvocationContext |
context
The current context.
|
protected RenderPrintWriter |
out
The current output.
|
private LinkedList<InvocationContext<?>> |
stack
.
|
| Modifier | Constructor and Description |
|---|---|
protected |
GroovyScriptCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String s) |
Object |
getProperty(String property) |
Object |
invokeMethod(String name,
Object args) |
InvocationContext<?> |
peekContext() |
InvocationContext<?> |
popContext() |
void |
pushContext(InvocationContext<?> context) |
private LinkedList<InvocationContext<?>> stack
protected InvocationContext context
protected RenderPrintWriter out
protected GroovyScriptCommand()
public final void pushContext(InvocationContext<?> context) throws NullPointerException
NullPointerExceptionpublic final InvocationContext<?> popContext()
public final InvocationContext<?> peekContext()
public final Object invokeMethod(String name, Object args)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class groovy.lang.Scriptpublic final Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.ScriptCopyright © 2015 eXo Platform SAS. All Rights Reserved.