Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

CoreMethods

The CoreMethods class contains one-liner methods for performing core utility functions such as:

Not for use in Gloop

CoreMethods is not exposed in Gloop directly, although if need be, you can use it in Gloovy steps, calling the method as you would call a regular static method.

Here are sample code usages in Groovy:

1
2
3
def bean = 'emailClient'.bean()
def parameters = [ 'firstName': 'John', 'lastName': 'Doe' ]
def response = "service".invoke(parameters)

  1. See Spring internationalization.