Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Groovy Methods

Groovy Methods are one-liners for common functions for TORO Integrate Package. To view the javadocs go here

These are the different ways of using the groovy methods:

Using Gloovy Step groovy method gloovy step

Using Invoke Code Step groovy method invoke step

Using Gloovy Step coder groovy method gloovy step

Using Invoke Code Step coder-groovy method invoke step

1
2
3
4
5
6
//Gets value of the 'http.port' property of TORO Integrate
def port = 'http.port'.getIntegrateProperty()

//Gets the value of 'emailAdress' property of the Package in which the code resides.
//'emailAdress' is not found, returns the dafault value ('bambi@deerclub.com')
def emailAdress = 'emailAdress'.getPackageProperty('bambi@deerclub.com')