Groovy SDK
Groovy objects (available objects in a Groovy script)
Object name | Purpose | Context |
The message being processed | Mapper, sender plugin | |
The current node inside the message being processed by a submapper | Submapper | |
A utility class to convert objects between json, maps and lists | All | |
The 1Gateway API | All | |
option | A helper class to access optional bindings | All |
A global datastore in memory | All | |
A global database-backed datastore | All | |
Mapping-related information | Mapping | |
log | The logger | All |
Optional bindings
The http helper class | All, through option.http | |
An FTP client | All, through option.ftp | |
A sql client | All, through option.sql |
Option
Method | Purpose | Example |
include | Include an external Groovy library | obj=option.include("MyLib.groovy") |
sql | Instantiate a SQL client | sql=option.sql |
memorystore | Create or retrieve a named memory-resident datastore | mem=option.memorystore(“Mystore”) |
dbstore | Create or retrieve a named database-backed datastore | mydb=option.dbstore(“MyDBstore”) |
ftp | Transfer files to/from an ftp server | ftp=option.ftp(authprofile) |