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
NullPointerException
public final InvocationContext<?> popContext()
public final InvocationContext<?> peekContext()
public final Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class groovy.lang.Script
public final Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.Script
Copyright © 2015 eXo Platform SAS. All Rights Reserved.