Reference

Scripting Language

Scripts use BeanShell, an embeddable scripting language based on Java. BeanShell runs standard Java statements and expressions and supports scripted objects as simple method closures, similar to Perl and JavaScript. Click here for the complete BeanShell manual.

http://www.beanshell.org/manual/contents.html