From bf1ae66ce03f83bd4cbd319bdbae7e6e6358a7b7 Mon Sep 17 00:00:00 2001 From: lorenzo Date: Wed, 26 Aug 2020 15:46:47 +0200 Subject: [PATCH] misc: preparing release 1.0.2. --- src/main/resources/module-descriptor.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/module-descriptor.json b/src/main/resources/module-descriptor.json index dcc5aed..f84dcbe 100644 --- a/src/main/resources/module-descriptor.json +++ b/src/main/resources/module-descriptor.json @@ -1 +1 @@ -{"name":"module-core","displayName":"Core Module","version":"1.0.2-SNAPSHOT","components":[{"hidden":false,"displayName":"Join With Delimiter","description":"Can only be placed after a Fork. It joins the payloads of the messages resulting from the execution of the Fork with the provided delimiter. A delimiter can be a single character or any other string. The mime type property specifies the mime type of the joined payloads. This component automatically converts the payload of each single input message to string in case they are not a string type already.","fullyQualifiedName":"com.reedelk.core.component.JoinWithDelimiter","type":"JOIN","input":{"description":"The messages to join using the given delimiter","payload":["com.reedelk.runtime.api.message.Message[]"]},"output":{"description":"The joined content of the input messages payloads using the delimiter as separator. If a message does not have a payload of type string, it is converted to string before joining.","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the joined content in the message.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":";","initValue":",","description":"The delimiter char (or string) to be used to join the content of the messages.","displayName":"Delimiter","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Join With Script","description":"Can only be placed after a Fork. It joins the payloads of the messages resulting from the execution of the Fork with the provided script function. The mime type property specifies the mime type of the joined payloads. If the result of the script is null, an empty message payload content is set.","fullyQualifiedName":"com.reedelk.core.component.JoinWithScript","type":"JOIN","input":{"description":"The messages to join using the given script","payload":["com.reedelk.runtime.api.message.Message[]"]},"output":{"description":"The joined content of the input messages payloads using by evaluating the given script.","dynamicPropertyName":"","payload":["java.lang.Object"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the joined content in the message.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"script","example":"joiners/joinByType.groovy","initValue":"###USE_DEFAULT_VALUE###","description":"The path of the script function to be invoked when executing the component","displayName":"Script","type":{"classname":"com.reedelk.module.descriptor.model.property.ScriptDescriptor","instance":{"type":"com.reedelk.runtime.api.script.Script"}},"scriptSignature":{"arguments":[{"argumentName":"context","argumentType":"com.reedelk.runtime.api.flow.FlowContext"},{"argumentName":"messages","argumentType":"com.reedelk.core.internal.type.ListOfMessages"}]},"whens":[]}]},{"hidden":false,"displayName":"Logger","description":"This component allows to log information within a flow such as message payload, attributes, context variables and so on. A logger component can be added anywhere in a flow and it can log a simple text value or a dynamic expression. The Log Message input field type can be toggled to enter a static or dynamic expression value.","fullyQualifiedName":"com.reedelk.core.component.LoggerComponent","type":"PROCESSOR","input":{"description":"Any payload to be logged","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"level","example":"DEBUG","initValue":"INFO","description":"The logger level used to log the given message. Log levels can be configured from the \u003ci\u003e{RUNTIME_HOME}/config/logback.xml\u003c/i\u003e file.","displayName":"Logger Level","defaultValue":"INFO","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"TRACE":"Trace","ERROR":"Error","INFO":"Info","DEBUG":"Debug","WARN":"Warn"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"message","example":"\u003ccode\u003e\u0027Attributes:\u0027 + message.attributes()\u003c/code\u003e","initValue":"#[message]","hintValue":"my log message","description":"Sets the message to be logged. It can be a static or dynamic value.","displayName":"Log message","defaultValue":"\u003ccode\u003emessage\u003c/code\u003e","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]},{"hidden":false,"displayName":"Payload Set","description":"Sets the content of the current message payload to the given payload value. The payload value could be a static text value or a dynamic expression. The mime type specifies the type of the new payload value.","fullyQualifiedName":"com.reedelk.core.component.PayloadSet","type":"PROCESSOR","input":{"description":"Any payload input to be evaluated","payload":["java.lang.Object"]},"output":{"description":"Sets the new message payload by evaluating the expression. The attributes are not changed.","dynamicPropertyName":"payload","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$InferFromDynamicProperty"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the new payload being set.","displayName":"Mime type","defaultValue":"*/*","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"payload","example":"\u003ccode\u003eJson.stringify([ data: message.attributes().pathParams.name, id: Util.uuid() ])\u003c/code\u003e","initValue":"#[message.payload()]","hintValue":"Payload text","description":"The new payload to be set to the current flow message.","displayName":"Payload","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]},{"hidden":false,"displayName":"Payload To String","description":"Transforms the message payload to string type. This component can be used when the payload is a byte array or a byte array stream and we want to convert it to a string for further processing. This might be necessary for instance when the result of a REST Call does not have a mime type assigned. In this case the result will be a byte array and in order to further process the content with a script we must convert it to a string type.","fullyQualifiedName":"com.reedelk.core.component.PayloadToString","type":"PROCESSOR","input":{"description":"Any payload input to be converted to a string","payload":["java.lang.Object"]},"output":{"description":"Converts the payload to a string","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the new mime type of the payload content.","displayName":"Mime Type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]}]},{"hidden":false,"displayName":"Resource Read Binary","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is byte array. This component might be used to load binary data (e.g a picture file) from the project\u0027s resources folder. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadBinary","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder.","dynamicPropertyName":"","payload":["byte[]"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"assets/my_image.jpg","initValue":"###USE_DEFAULT_VALUE###","description":"The path and name of the file to be read from the project\u0027s resources folder.","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.ResourceBinaryDescriptor","instance":{"hintBrowseFile":"Select Resource Binary File ...","type":"com.reedelk.runtime.api.resource.ResourceBinary"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"image/jpeg","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"application/octet-stream","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]}]},{"hidden":false,"displayName":"Resource Read Dynamic","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is byte array. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension. This component allows to specify the path and file name of the resource with a dynamic value instead of a static one. This component might be used to load binary data (e.g a picture file) from the project\u0027s resources folder in a dynamic fashion: for instance loading files from a given REST Listener request path\u0027s value.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadDynamic","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder. The output is string if the mime type is a string based type e.g text/plain, otherwise a byte array.","dynamicPropertyName":"","payload":["byte[]","java.lang.String"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"\u003ccode\u003emessage.attributes().get(\u0027pathParams\u0027).filePathParam\u003c/code\u003e","initValue":"#[\u0027/assets/sample.jpg\u0027]","hintValue":"/assets/sample.jpg","description":"The path and name of the file to be read from the project\u0027s resources folder. The value which might be static or a dynamic expression must point to a file existing in the project\u0027s resources directory","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.resource.DynamicResource"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"image/jpeg","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"application/octet-stream","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]},{"mandatory":false,"name":"configuration","group":"Configuration","initValue":"###USE_DEFAULT_VALUE###","displayName":"Configuration","type":{"classname":"com.reedelk.module.descriptor.model.property.ObjectDescriptor","instance":{"shared":"NO","collapsible":"YES","typeFullyQualifiedName":"com.reedelk.core.component.ResourceReadDynamicConfiguration","objectProperties":[{"mandatory":false,"name":"readBufferSize","example":"524288","initValue":"###USE_DEFAULT_VALUE###","hintValue":"65536","description":"The buffer size used to read the files from the resources folder. This parameter can be used to improve read performances. If the files are big the buffer size should be bigger, otherwise for very small files it should be kept smaller.","displayName":"Read buffer size","defaultValue":"65536","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Integer"}},"whens":[]}],"type":"com.reedelk.module.descriptor.model.property.ObjectDescriptor$TypeObject"}},"whens":[]}]},{"hidden":false,"displayName":"Resource Read Text","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is string. This component might be used to load text files (e.g .txt, .json, .xml) from the project\u0027s resources folder. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadText","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder.","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"assets/data_model.json","initValue":"###USE_DEFAULT_VALUE###","hintValue":"assets/sample.txt","description":"The path and name of the file to be read from the project\u0027s resources folder.","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.ResourceTextDescriptor","instance":{"hintBrowseFile":"Select Resource Text File ...","type":"com.reedelk.runtime.api.resource.ResourceText"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]}]},{"hidden":false,"displayName":"Script","description":"Executes the given script function and sets the result of its evaluation in the payload content. The script function must be defined in a file with .groovy extension in the project\u0027s \u003ci\u003eresources/scripts\u003c/i\u003e folder. The function must have the following signature:\u003cbr\u003e\u003cbr\u003e\u003cpre\u003e\u003ccode\u003e fun myFunctionName(context, message) {\u003cbr\u003e // Function code\u003cbr\u003e \u0027my result\u0027\u003cbr\u003e }\u003cbr\u003e\u003c/code\u003e\u003c/pre\u003e\u003cbr\u003eThe \u003ci\u003econtext\u003c/i\u003e variable can be used to access data stored in the flow context and the \u003ci\u003emessage\u003c/i\u003e variable is the current flow message object. To access the message content from the script use \u003ccode\u003emessage.payload()\u003c/code\u003e.","fullyQualifiedName":"com.reedelk.core.component.ScriptEvaluator","type":"PROCESSOR","input":{"description":"The message data to be evaluated by this script","payload":["java.lang.Object"]},"output":{"description":"The result of the evaluated script","dynamicPropertyName":"","payload":["java.lang.Object"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"text/xml","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the script result in the message payload; e.g: if the result of the script is JSON, then \u003ci\u003eapplication/json\u003c/i\u003e should be selected.This is useful to let the following components in the flow know how to process the message payload set by this script. For instance, the REST listener would use this information to set the correct content type in the request\u0027s response body.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"script","example":"mapJsonModel.groovy","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the script file to be executed by this component. Must be a file path and name starting from the project\u0027s resources/scripts directory.","displayName":"Script","type":{"classname":"com.reedelk.module.descriptor.model.property.ScriptDescriptor","instance":{"type":"com.reedelk.runtime.api.script.Script"}},"whens":[]},{"mandatory":false,"name":"target","group":"Advanced","example":"myScriptResult","initValue":"###USE_DEFAULT_VALUE###","hintValue":"myScriptResult","description":"If the property is not empty, the result of the script evaluation is assigned to the given context variable instead of the message payload.","displayName":"Target Variable","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]}]},{"hidden":false,"displayName":"Split Text","description":"The Split Text component splits the text from the Message payload using the provided delimiter or regular expression. A collection containing all the strings computed by splitting the message payload with the delimiter.","fullyQualifiedName":"com.reedelk.core.component.SplitText","type":"PROCESSOR","input":{"description":"Any payload input string to be split using the delimiter. If the input is not a string, it is first converted to string using the default system charset.","payload":["java.lang.String"]},"output":{"description":"A list containing the segments of the input payload split using the delimiter.","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.type.ListOfString"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"delimiter","example":";","initValue":",","hintValue":",","description":"The delimiter to be used to split the message payload. A regular expression can be used.","displayName":"Delimiter","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Variable Remove","description":"Removes a variable previously set in the flow context.","fullyQualifiedName":"com.reedelk.core.component.VariableRemove","type":"PROCESSOR","input":{"description":"Any input. The input message is not used by this component.","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"name","example":"mySampleVariable","initValue":"###USE_DEFAULT_VALUE###","hintValue":"mySampleVariable","description":"The name of the variable to be removed from the flow context.","displayName":"Name","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Variable Set","description":"Sets a variable in the flow context with the provided value.","fullyQualifiedName":"com.reedelk.core.component.VariableSet","type":"PROCESSOR","input":{"description":"Any input. The input message is used to evaluate the dynamic expression whose result is assigned to the context variable with the given name.","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"name","example":"mySampleVariable","initValue":"###USE_DEFAULT_VALUE###","hintValue":"mySampleVariable","description":"The name of the variable to be set in the flow context.","displayName":"Name","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the value this context variable will be bound to.","displayName":"Mime type","defaultValue":"*/*","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"value","example":"\u003ccode\u003emessage.attributes().pathParams\u003c/code\u003e","initValue":"#[message.payload()]","hintValue":"my variable content","description":"The value to assign to the context variable being set. It might be a static or dynamic value.","displayName":"Value","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]}],"types":[{"global":false,"type":"com.reedelk.core.internal.attribute.ResourceReadAttributes","extendsType":"com.reedelk.runtime.api.message.MessageAttributes","description":"","mapKeyType":"java.lang.Object","mapValueType":"java.lang.Object","functions":[],"properties":[{"name":"resourcePath","type":"java.lang.String","example":"","description":""},{"name":"timestamp","type":"long","example":"","description":""}]},{"global":true,"type":"com.reedelk.core.internal.script.Config","description":"The Config type provides a set of functions to retrieve configuration properties given a config key and (optionally) a default value. Configuration properties must be defined in the \u003ci\u003e{RUNTIME_HOME}/config/configuration.properties\u003c/i\u003e file.","functions":[{"name":"asString","example":"Config.asString(\u0027endpoint.host\u0027)","signature":"asString(String configKey)","returnType":"java.lang.String","description":"Returns the configuration value of the given config key as String type.","cursorOffset":1},{"name":"asString","example":"Config.asString(\u0027endpoint.host\u0027, \u0027localhost\u0027)","signature":"asString(String configKey, String defaultValue)","returnType":"java.lang.String","description":"Returns the configuration value of the given config key as a String type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asInt","example":"Config.asInt(\u0027endpoint.port\u0027)","signature":"asInt(String configKey)","returnType":"int","description":"Returns the configuration value of the given config key as int type.","cursorOffset":1},{"name":"asInt","example":"Config.asInt(\u0027endpoint.port\u0027, 8282)","signature":"asInt(String configKey, int defaultValue)","returnType":"int","description":"Returns the configuration value of the given config key as a int type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asLong","example":"Config.asLong(\u0027my.config.property\u0027)","signature":"asLong(String configKey)","returnType":"long","description":"Returns the configuration value of the given config key as long type.","cursorOffset":1},{"name":"asLong","example":"Config.asLong(\u0027my.config.property\u0027, 540221)","signature":"asLong(String configKey, long defaultValue)","returnType":"long","description":"Returns the configuration value of the given config key as a long type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asDouble","example":"Config.asDouble(\u0027my.config.property\u0027)","signature":"asDouble(String configKey)","returnType":"double","description":"Returns the configuration value of the given config key as double type.","cursorOffset":1},{"name":"asDouble","example":"Config.asDouble(\u0027my.config.property\u0027, 21.7823)","signature":"asDouble(String configKey, double defaultValue)","returnType":"double","description":"Returns the configuration value of the given config key as a double type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asFloat","example":"Config.asFloat(\u0027my.config.property\u0027)","signature":"asFloat(String configKey)","returnType":"float","description":"Returns the configuration value of the given config key as float type.","cursorOffset":1},{"name":"asFloat","example":"Config.asFloat(\u0027my.config.property\u0027, 3.1)","signature":"asFloat(String configKey, float defaultValue)","returnType":"float","description":"Returns the configuration value of the given config key as a float type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asBoolean","example":"Config.asBoolean(\u0027my.config.property\u0027)","signature":"asBoolean(String configKey)","returnType":"boolean","description":"Returns the configuration value of the given config key as boolean type.","cursorOffset":1},{"name":"asBoolean","example":"Config.asBoolean(\u0027my.config.property\u0027, true)","signature":"asBoolean(String configKey, boolean defaultValue)","returnType":"boolean","description":"Returns the configuration value of the given config key as a boolean type if present, otherwise the given default value is returned.","cursorOffset":1}],"properties":[]},{"global":true,"type":"com.reedelk.core.internal.script.Log","description":"The Log type provides a set of functions to log messages from scripts for several logging levels.","functions":[{"name":"info","example":"Log.info(\u0027my info log message\u0027)","signature":"info(Object message)","returnType":"void","description":"Logs a message with INFO logger level.","cursorOffset":1},{"name":"warn","example":"Log.warn(\u0027my warn log message\u0027)","signature":"warn(Object message)","returnType":"void","description":"Logs a message with WARN logger level.","cursorOffset":1},{"name":"error","example":"Log.error(\u0027my error log message\u0027)","signature":"error(Object message)","returnType":"void","description":"Logs a message with ERROR logger level.","cursorOffset":1},{"name":"trace","example":"Log.trace(\u0027my trace log message\u0027)","signature":"trace(Object message)","returnType":"void","description":"Logs a message with TRACE logger level.","cursorOffset":1},{"name":"debug","example":"Log.debug(\u0027my debug log message\u0027)","signature":"debug(Object message)","returnType":"void","description":"Logs a message with DEBUG logger level.","cursorOffset":1}],"properties":[]},{"global":true,"type":"com.reedelk.core.internal.script.Util","description":"The Util type provides a set of utility functions such as generating UUIDs or getting temporary directory on the file system.","functions":[{"name":"tmpdir","example":"Util.tmpdir()","signature":"tmpdir()","returnType":"java.lang.String","description":"Returns a temporary directory which can be used to temporarily create and store files.","cursorOffset":0},{"name":"uuid","example":"Util.uuid()","signature":"uuid()","returnType":"java.lang.String","description":"Returns a type 4 (pseudo randomly generated) uuid.","cursorOffset":0}],"properties":[]},{"global":false,"type":"com.reedelk.core.internal.type.ListOfMessages","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.runtime.api.message.Message","functions":[],"properties":[]}]} \ No newline at end of file +{"name":"module-core","displayName":"Core Module","version":"1.0.2","components":[{"hidden":false,"displayName":"Join With Delimiter","description":"Can only be placed after a Fork. It joins the payloads of the messages resulting from the execution of the Fork with the provided delimiter. A delimiter can be a single character or any other string. The mime type property specifies the mime type of the joined payloads. This component automatically converts the payload of each single input message to string in case they are not a string type already.","fullyQualifiedName":"com.reedelk.core.component.JoinWithDelimiter","type":"JOIN","input":{"description":"The messages to join using the given delimiter","payload":["com.reedelk.runtime.api.message.Message[]"]},"output":{"description":"The joined content of the input messages payloads using the delimiter as separator. If a message does not have a payload of type string, it is converted to string before joining.","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the joined content in the message.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":";","initValue":",","description":"The delimiter char (or string) to be used to join the content of the messages.","displayName":"Delimiter","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Join With Script","description":"Can only be placed after a Fork. It joins the payloads of the messages resulting from the execution of the Fork with the provided script function. The mime type property specifies the mime type of the joined payloads. If the result of the script is null, an empty message payload content is set.","fullyQualifiedName":"com.reedelk.core.component.JoinWithScript","type":"JOIN","input":{"description":"The messages to join using the given script","payload":["com.reedelk.runtime.api.message.Message[]"]},"output":{"description":"The joined content of the input messages payloads using by evaluating the given script.","dynamicPropertyName":"","payload":["java.lang.Object"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the joined content in the message.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"script","example":"joiners/joinByType.groovy","initValue":"###USE_DEFAULT_VALUE###","description":"The path of the script function to be invoked when executing the component","displayName":"Script","type":{"classname":"com.reedelk.module.descriptor.model.property.ScriptDescriptor","instance":{"type":"com.reedelk.runtime.api.script.Script"}},"scriptSignature":{"arguments":[{"argumentName":"context","argumentType":"com.reedelk.runtime.api.flow.FlowContext"},{"argumentName":"messages","argumentType":"com.reedelk.core.internal.type.ListOfMessages"}]},"whens":[]}]},{"hidden":false,"displayName":"Logger","description":"This component allows to log information within a flow such as message payload, attributes, context variables and so on. A logger component can be added anywhere in a flow and it can log a simple text value or a dynamic expression. The Log Message input field type can be toggled to enter a static or dynamic expression value.","fullyQualifiedName":"com.reedelk.core.component.LoggerComponent","type":"PROCESSOR","input":{"description":"Any payload to be logged","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"level","example":"DEBUG","initValue":"INFO","description":"The logger level used to log the given message. Log levels can be configured from the \u003ci\u003e{RUNTIME_HOME}/config/logback.xml\u003c/i\u003e file.","displayName":"Logger Level","defaultValue":"INFO","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"TRACE":"Trace","ERROR":"Error","INFO":"Info","DEBUG":"Debug","WARN":"Warn"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"message","example":"\u003ccode\u003e\u0027Attributes:\u0027 + message.attributes()\u003c/code\u003e","initValue":"#[message]","hintValue":"my log message","description":"Sets the message to be logged. It can be a static or dynamic value.","displayName":"Log message","defaultValue":"\u003ccode\u003emessage\u003c/code\u003e","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]},{"hidden":false,"displayName":"Payload Set","description":"Sets the content of the current message payload to the given payload value. The payload value could be a static text value or a dynamic expression. The mime type specifies the type of the new payload value.","fullyQualifiedName":"com.reedelk.core.component.PayloadSet","type":"PROCESSOR","input":{"description":"Any payload input to be evaluated","payload":["java.lang.Object"]},"output":{"description":"Sets the new message payload by evaluating the expression. The attributes are not changed.","dynamicPropertyName":"payload","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$InferFromDynamicProperty"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the new payload being set.","displayName":"Mime type","defaultValue":"*/*","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"payload","example":"\u003ccode\u003eJson.stringify([ data: message.attributes().pathParams.name, id: Util.uuid() ])\u003c/code\u003e","initValue":"#[message.payload()]","hintValue":"Payload text","description":"The new payload to be set to the current flow message.","displayName":"Payload","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]},{"hidden":false,"displayName":"Payload To String","description":"Transforms the message payload to string type. This component can be used when the payload is a byte array or a byte array stream and we want to convert it to a string for further processing. This might be necessary for instance when the result of a REST Call does not have a mime type assigned. In this case the result will be a byte array and in order to further process the content with a script we must convert it to a string type.","fullyQualifiedName":"com.reedelk.core.component.PayloadToString","type":"PROCESSOR","input":{"description":"Any payload input to be converted to a string","payload":["java.lang.Object"]},"output":{"description":"Converts the payload to a string","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the new mime type of the payload content.","displayName":"Mime Type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]}]},{"hidden":false,"displayName":"Resource Read Binary","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is byte array. This component might be used to load binary data (e.g a picture file) from the project\u0027s resources folder. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadBinary","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder.","dynamicPropertyName":"","payload":["byte[]"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"assets/my_image.jpg","initValue":"###USE_DEFAULT_VALUE###","description":"The path and name of the file to be read from the project\u0027s resources folder.","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.ResourceBinaryDescriptor","instance":{"hintBrowseFile":"Select Resource Binary File ...","type":"com.reedelk.runtime.api.resource.ResourceBinary"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"image/jpeg","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"application/octet-stream","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]}]},{"hidden":false,"displayName":"Resource Read Dynamic","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is byte array. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension. This component allows to specify the path and file name of the resource with a dynamic value instead of a static one. This component might be used to load binary data (e.g a picture file) from the project\u0027s resources folder in a dynamic fashion: for instance loading files from a given REST Listener request path\u0027s value.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadDynamic","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder. The output is string if the mime type is a string based type e.g text/plain, otherwise a byte array.","dynamicPropertyName":"","payload":["byte[]","java.lang.String"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"\u003ccode\u003emessage.attributes().get(\u0027pathParams\u0027).filePathParam\u003c/code\u003e","initValue":"#[\u0027/assets/sample.jpg\u0027]","hintValue":"/assets/sample.jpg","description":"The path and name of the file to be read from the project\u0027s resources folder. The value which might be static or a dynamic expression must point to a file existing in the project\u0027s resources directory","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.resource.DynamicResource"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"image/jpeg","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"application/octet-stream","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]},{"mandatory":false,"name":"configuration","group":"Configuration","initValue":"###USE_DEFAULT_VALUE###","displayName":"Configuration","type":{"classname":"com.reedelk.module.descriptor.model.property.ObjectDescriptor","instance":{"shared":"NO","collapsible":"YES","typeFullyQualifiedName":"com.reedelk.core.component.ResourceReadDynamicConfiguration","objectProperties":[{"mandatory":false,"name":"readBufferSize","example":"524288","initValue":"###USE_DEFAULT_VALUE###","hintValue":"65536","description":"The buffer size used to read the files from the resources folder. This parameter can be used to improve read performances. If the files are big the buffer size should be bigger, otherwise for very small files it should be kept smaller.","displayName":"Read buffer size","defaultValue":"65536","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Integer"}},"whens":[]}],"type":"com.reedelk.module.descriptor.model.property.ObjectDescriptor$TypeObject"}},"whens":[]}]},{"hidden":false,"displayName":"Resource Read Text","description":"Reads a file from the project\u0027s resources folder and sets its content into the flow message. The type of the message payload is string. This component might be used to load text files (e.g .txt, .json, .xml) from the project\u0027s resources folder. The Mime Type property assign the mime type of the file to the message payload. If Auto Mime Type is selected, the mime type is automatically determined from the file extension.","fullyQualifiedName":"com.reedelk.core.component.ResourceReadText","type":"PROCESSOR","input":{"description":"The input payload is not used by this component. The resource is read from the given Resource File path property.","payload":["java.lang.Object"]},"output":{"description":"The content of the resource file read from the project\u0027s resources folder.","dynamicPropertyName":"","payload":["java.lang.String"],"attributes":["com.reedelk.core.internal.attribute.ResourceReadAttributes"]},"properties":[{"mandatory":true,"name":"resourceFile","example":"assets/data_model.json","initValue":"###USE_DEFAULT_VALUE###","hintValue":"assets/sample.txt","description":"The path and name of the file to be read from the project\u0027s resources folder.","displayName":"Resource file","type":{"classname":"com.reedelk.module.descriptor.model.property.ResourceTextDescriptor","instance":{"hintBrowseFile":"Select Resource Text File ...","type":"com.reedelk.runtime.api.resource.ResourceText"}},"whens":[]},{"mandatory":false,"name":"autoMimeType","example":"true","initValue":"true","description":"If true, the mime type of the payload is determined from the extension of the resource read.","displayName":"Auto mime type","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"boolean"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the resource read from local project\u0027s resources directory.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[{"propertyName":"autoMimeType","propertyValue":"false"},{"propertyName":"autoMimeType","propertyValue":"###BLANK###"}]}]},{"hidden":false,"displayName":"Script","description":"Executes the given script function and sets the result of its evaluation in the payload content. The script function must be defined in a file with .groovy extension in the project\u0027s \u003ci\u003eresources/scripts\u003c/i\u003e folder. The function must have the following signature:\u003cbr\u003e\u003cbr\u003e\u003cpre\u003e\u003ccode\u003e fun myFunctionName(context, message) {\u003cbr\u003e // Function code\u003cbr\u003e \u0027my result\u0027\u003cbr\u003e }\u003cbr\u003e\u003c/code\u003e\u003c/pre\u003e\u003cbr\u003eThe \u003ci\u003econtext\u003c/i\u003e variable can be used to access data stored in the flow context and the \u003ci\u003emessage\u003c/i\u003e variable is the current flow message object. To access the message content from the script use \u003ccode\u003emessage.payload()\u003c/code\u003e.","fullyQualifiedName":"com.reedelk.core.component.ScriptEvaluator","type":"PROCESSOR","input":{"description":"The message data to be evaluated by this script","payload":["java.lang.Object"]},"output":{"description":"The result of the evaluated script","dynamicPropertyName":"","payload":["java.lang.Object"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"mimeType","example":"text/xml","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the mime type of the script result in the message payload; e.g: if the result of the script is JSON, then \u003ci\u003eapplication/json\u003c/i\u003e should be selected.This is useful to let the following components in the flow know how to process the message payload set by this script. For instance, the REST listener would use this information to set the correct content type in the request\u0027s response body.","displayName":"Mime type","defaultValue":"text/plain","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"script","example":"mapJsonModel.groovy","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the script file to be executed by this component. Must be a file path and name starting from the project\u0027s resources/scripts directory.","displayName":"Script","type":{"classname":"com.reedelk.module.descriptor.model.property.ScriptDescriptor","instance":{"type":"com.reedelk.runtime.api.script.Script"}},"whens":[]},{"mandatory":false,"name":"target","group":"Advanced","example":"myScriptResult","initValue":"###USE_DEFAULT_VALUE###","hintValue":"myScriptResult","description":"If the property is not empty, the result of the script evaluation is assigned to the given context variable instead of the message payload.","displayName":"Target Variable","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]}]},{"hidden":false,"displayName":"Split Text","description":"The Split Text component splits the text from the Message payload using the provided delimiter or regular expression. A collection containing all the strings computed by splitting the message payload with the delimiter.","fullyQualifiedName":"com.reedelk.core.component.SplitText","type":"PROCESSOR","input":{"description":"Any payload input string to be split using the delimiter. If the input is not a string, it is first converted to string using the default system charset.","payload":["java.lang.String"]},"output":{"description":"A list containing the segments of the input payload split using the delimiter.","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.type.ListOfString"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"delimiter","example":";","initValue":",","hintValue":",","description":"The delimiter to be used to split the message payload. A regular expression can be used.","displayName":"Delimiter","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Variable Remove","description":"Removes a variable previously set in the flow context.","fullyQualifiedName":"com.reedelk.core.component.VariableRemove","type":"PROCESSOR","input":{"description":"Any input. The input message is not used by this component.","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"name","example":"mySampleVariable","initValue":"###USE_DEFAULT_VALUE###","hintValue":"mySampleVariable","description":"The name of the variable to be removed from the flow context.","displayName":"Name","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]}]},{"hidden":false,"displayName":"Variable Set","description":"Sets a variable in the flow context with the provided value.","fullyQualifiedName":"com.reedelk.core.component.VariableSet","type":"PROCESSOR","input":{"description":"Any input. The input message is used to evaluate the dynamic expression whose result is assigned to the context variable with the given name.","payload":["java.lang.Object"]},"output":{"description":"","dynamicPropertyName":"","payload":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"],"attributes":["com.reedelk.runtime.api.annotation.ComponentOutput$PreviousComponent"]},"properties":[{"mandatory":false,"name":"name","example":"mySampleVariable","initValue":"###USE_DEFAULT_VALUE###","hintValue":"mySampleVariable","description":"The name of the variable to be set in the flow context.","displayName":"Name","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"whens":[]},{"mandatory":false,"name":"mimeType","example":"application/json","initValue":"###USE_DEFAULT_VALUE###","description":"The mime type of the value this context variable will be bound to.","displayName":"Mime type","defaultValue":"*/*","type":{"classname":"com.reedelk.module.descriptor.model.property.ComboDescriptor","instance":{"editable":true,"prototype":"XXXXXXXXXXXXXXXXXXXXXXXXXX","comboValues":["text/css","text/html","text/plain","text/richtext","text/scriptlet","text/tab-separated-values","text/csv","text/webviewhtml","text/x-component","text/x-setext","text/x-vcard","text/xml","text/json","text/javascript","image/bmp","image/gif","image/png","image/jpeg","image/pipeg","image/svg+xml","image/tiff","image/x-cmu-raster","image/x-cmx","image/x-icon","image/x-portable-anymap","image/x-portable-bitmap","image/x-portable-graymap","image/x-portable-pixmap","image/x-rgb","image/x-xbitmap","image/x-xpixmap","image/x-xwindowdump","image/ief","message/rfc822","video/mpeg","video/mp4","video/quicktime","video/x-la-asf","video/x-ms-asf","video/x-msvideo","video/x-sgi-movie","audio/basic","audio/mid","audio/mpeg","audio/x-aiff","audio/x-mpegurl","audio/x-pn-realaudio","audio/x-wav","application/envoy","application/fractals","application/futuresplash","application/hta","application/msword","application/octet-stream","application/oda","application/olescript","application/pdf","application/pics-rules","application/pkcs10","application/pkix-crl","application/postscript","application/rtf","application/set-payment-initiation","application/set-registration-initiation","application/vnd.ms-excel","application/vnd.ms-outlook","application/vnd.ms-pkicertstore","application/vnd.ms-pkiseccat","application/vnd.ms-pkistl","application/vnd.ms-powerpoint","application/vnd.ms-project","application/vnd.ms-works","application/winhlp","application/x-bcpio","application/x-cdf","application/x-compress","application/x-compressed","application/x-cpio","application/x-csh","application/x-director","application/x-dvi","application/x-gtar","application/x-gzip","application/x-hdf","application/x-internet-signup","application/javascript","application/x-latex","application/x-msaccess","application/x-mscardfile","application/x-msclip","application/x-msdownload","application/x-msmediaview","application/x-msmetafile","application/x-msmoney","application/x-mspublisher","application/x-msschedule","application/x-msterminal","application/x-mswrite","application/x-netcdf","application/x-pkcs12","application/x-pkcs7-certificates","application/x-pkcs7-certreqresp","application/x-pkcs7-mime","application/x-pkcs7-signature","application/x-sh","application/x-shar","application/x-shockwave-flash","application/x-tar","application/x-x509-ca-cert","application/zip","application/atom+xml","application/rss+xml","application/xml","application/json","application/java","application/x-www-form-urlencoded","*/*","content/unknown","multipart/form-data"],"type":"com.reedelk.runtime.api.annotation.Combo"}},"whens":[]},{"mandatory":false,"name":"value","example":"\u003ccode\u003emessage.attributes().pathParams\u003c/code\u003e","initValue":"#[message.payload()]","hintValue":"my variable content","description":"The value to assign to the context variable being set. It might be a static or dynamic value.","displayName":"Value","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicObject"}},"whens":[]}]}],"types":[{"global":false,"type":"com.reedelk.core.internal.attribute.ResourceReadAttributes","extendsType":"com.reedelk.runtime.api.message.MessageAttributes","description":"","mapKeyType":"java.lang.Object","mapValueType":"java.lang.Object","functions":[],"properties":[{"name":"resourcePath","type":"java.lang.String","example":"","description":""},{"name":"timestamp","type":"long","example":"","description":""}]},{"global":true,"type":"com.reedelk.core.internal.script.Config","description":"The Config type provides a set of functions to retrieve configuration properties given a config key and (optionally) a default value. Configuration properties must be defined in the \u003ci\u003e{RUNTIME_HOME}/config/configuration.properties\u003c/i\u003e file.","functions":[{"name":"asString","example":"Config.asString(\u0027endpoint.host\u0027)","signature":"asString(String configKey)","returnType":"java.lang.String","description":"Returns the configuration value of the given config key as String type.","cursorOffset":1},{"name":"asString","example":"Config.asString(\u0027endpoint.host\u0027, \u0027localhost\u0027)","signature":"asString(String configKey, String defaultValue)","returnType":"java.lang.String","description":"Returns the configuration value of the given config key as a String type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asInt","example":"Config.asInt(\u0027endpoint.port\u0027)","signature":"asInt(String configKey)","returnType":"int","description":"Returns the configuration value of the given config key as int type.","cursorOffset":1},{"name":"asInt","example":"Config.asInt(\u0027endpoint.port\u0027, 8282)","signature":"asInt(String configKey, int defaultValue)","returnType":"int","description":"Returns the configuration value of the given config key as a int type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asLong","example":"Config.asLong(\u0027my.config.property\u0027)","signature":"asLong(String configKey)","returnType":"long","description":"Returns the configuration value of the given config key as long type.","cursorOffset":1},{"name":"asLong","example":"Config.asLong(\u0027my.config.property\u0027, 540221)","signature":"asLong(String configKey, long defaultValue)","returnType":"long","description":"Returns the configuration value of the given config key as a long type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asDouble","example":"Config.asDouble(\u0027my.config.property\u0027)","signature":"asDouble(String configKey)","returnType":"double","description":"Returns the configuration value of the given config key as double type.","cursorOffset":1},{"name":"asDouble","example":"Config.asDouble(\u0027my.config.property\u0027, 21.7823)","signature":"asDouble(String configKey, double defaultValue)","returnType":"double","description":"Returns the configuration value of the given config key as a double type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asFloat","example":"Config.asFloat(\u0027my.config.property\u0027)","signature":"asFloat(String configKey)","returnType":"float","description":"Returns the configuration value of the given config key as float type.","cursorOffset":1},{"name":"asFloat","example":"Config.asFloat(\u0027my.config.property\u0027, 3.1)","signature":"asFloat(String configKey, float defaultValue)","returnType":"float","description":"Returns the configuration value of the given config key as a float type if present, otherwise the given default value is returned.","cursorOffset":1},{"name":"asBoolean","example":"Config.asBoolean(\u0027my.config.property\u0027)","signature":"asBoolean(String configKey)","returnType":"boolean","description":"Returns the configuration value of the given config key as boolean type.","cursorOffset":1},{"name":"asBoolean","example":"Config.asBoolean(\u0027my.config.property\u0027, true)","signature":"asBoolean(String configKey, boolean defaultValue)","returnType":"boolean","description":"Returns the configuration value of the given config key as a boolean type if present, otherwise the given default value is returned.","cursorOffset":1}],"properties":[]},{"global":true,"type":"com.reedelk.core.internal.script.Log","description":"The Log type provides a set of functions to log messages from scripts for several logging levels.","functions":[{"name":"info","example":"Log.info(\u0027my info log message\u0027)","signature":"info(Object message)","returnType":"void","description":"Logs a message with INFO logger level.","cursorOffset":1},{"name":"warn","example":"Log.warn(\u0027my warn log message\u0027)","signature":"warn(Object message)","returnType":"void","description":"Logs a message with WARN logger level.","cursorOffset":1},{"name":"error","example":"Log.error(\u0027my error log message\u0027)","signature":"error(Object message)","returnType":"void","description":"Logs a message with ERROR logger level.","cursorOffset":1},{"name":"trace","example":"Log.trace(\u0027my trace log message\u0027)","signature":"trace(Object message)","returnType":"void","description":"Logs a message with TRACE logger level.","cursorOffset":1},{"name":"debug","example":"Log.debug(\u0027my debug log message\u0027)","signature":"debug(Object message)","returnType":"void","description":"Logs a message with DEBUG logger level.","cursorOffset":1}],"properties":[]},{"global":true,"type":"com.reedelk.core.internal.script.Util","description":"The Util type provides a set of utility functions such as generating UUIDs or getting temporary directory on the file system.","functions":[{"name":"tmpdir","example":"Util.tmpdir()","signature":"tmpdir()","returnType":"java.lang.String","description":"Returns a temporary directory which can be used to temporarily create and store files.","cursorOffset":0},{"name":"uuid","example":"Util.uuid()","signature":"uuid()","returnType":"java.lang.String","description":"Returns a type 4 (pseudo randomly generated) uuid.","cursorOffset":0}],"properties":[]},{"global":false,"type":"com.reedelk.core.internal.type.ListOfMessages","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.runtime.api.message.Message","functions":[],"properties":[]}]} \ No newline at end of file