16.3.1.  Default Parameters in a Script

Every Groovy script has a binding with some predefined parameters

  • out the output stream of a Groovy script. Use out.println "message" or println "message" in the script. The output will appear in the Console view and in the output file (in case an output parameter has been specified).

  • result of type Result Access (see JavaDoc) for adding the results of a Groovy script.

  • coreAccess of type CoreAccess (see JavaDoc) for all Groovy scripts.

  • javaAccess of type JavaAccess (see JavaDoc) for Groovy scripts using the Java API.

  • cppAccess of type CppAccess (see JavaDoc) for Groovy scripts using the C++ API.

  • csharpAccess of type CSharpAccess (see JavaDoc) for Groovy scripts using the C# API.