Skip to content

Home

Development

IDEs

JAR services

API Explorer

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 Groovy script 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.