Groovy Language Integration


[Up] [Top]

Documentation for package ‘rGroovy’ version 1.3

Help Pages

rGroovy-package Groovy Scripting Language Integration
About Function prints some information about this package.
CheckJRERuntimeVersion Function verifies the existing JRE version is greater than or equal to 1.7 and, if it is not, invokes the stop function with a message.
Evaluate Function evaluates (executes) the groovy script and returns the result.
Execute Function executes the groovy script and returns the result. Execute differs from Evaluate in that references to Groovy objects are not required. The call to Initialize is not required in order to call this function either however keep in mind that a new instance of groovy.lang.GroovyShell will be used every time this function is called.
Initialize Function sets the global instance of GroovyShell that will be used by the Evaluate function whenever it is called with a NULL GroovyShell parameter.
rGroovy Groovy Scripting Language Integration