Base class for input/output parameters
Constructor and description |
---|
BaseParam
(groovy.lang.Binding binding, java.util.List holder, int ownerIndex = -1 ) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
getScriptVar(java.lang.String name, boolean strict) Get the value of variable name in the script context |
|
protected java.lang.Object |
getScriptVar(java.lang.String name) |
|
protected void |
init() Initialize the parameter fields if needed |
|
protected groovyx.gpars.dataflow.DataflowReadChannel |
inputValToChannel(java.lang.Object value) |
|
protected void |
lazyInit() Lazy initializer |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Get the value of variable name
in the script context
name
- The variable namestrict
- If true
raises a MissingPropertyException
when the specified variable does not existInitialize the parameter fields if needed
Lazy initializer
Groovy Documentation