General Actions:
| Groovy Execution API |
| Type | JAR |
| Developed by | |
| License | GNU Lesser General Public License 2.1 |
| Bundled With | XWiki Enterprise, XWiki Enterprise Manager |
Table of contents
This module has the following features:
This customizer stops execution of Groovy Script after a timeout has been reached, thus preventing long running operations. However this works only for Groovy code. If the Groovy code calls Java methods for example and these methods take a long time to execute the execution will be stopped only when the Groovy code regains control.
Do the following:
For example:
No Groovy Customizers are defined by default.
To add a Compilation Customizer, edit the xwiki.properties configuration file and add the following property:
For example to enable the Timed Interrupt Customizer, you would write:
You can also configure the Timed Interrupt Customize timeout value by adding/editing the following property, in seconds (60 seconds being the default):