Groovy Scriptlets

Groovy Scriptlets

Scriptlets are the minimal Groovy code snippets required to do common tasks, such as adding a new field, importing molecules from a file, or creating a new entity. Any scriptlet is unlikely to be of any use on its own. A complete script would typically combine various of these tasks to do some useful work. Scriptlets are provided as reference, a HOWTO for these common tasks.

Each link contains an explanation of the scriptlet with links to the relevant API .

Learn more about Groovy here: