User-Defined Functions and Function Libraries
Use
You can create your own user-defined function in Java source code. A user-defined function created in a message mapping or mapping template is stored in a local function library belonging to the corresponding mapping object. To use a user-defined function in more than one message mapping or mapping template, you have the option to create the user-defined functions in function libraries in the ES Repository.
A function library is created and maintained as a separate design object in the ES Repository.
More information: