Class GroovyServiceImpl

    • Constructor Detail

      • GroovyServiceImpl

        public GroovyServiceImpl()
    • Method Detail

      • getErrorType

        public String getErrorType()
        Specified by:
        getErrorType in class AbstractGroovyService
        Returns:
        the service error type to be used to classify the error logging records
        Since:
        4.3.4
      • invokeService

        public Object invokeService​(Map<String,​Object> parameters)
        Invoke the configured groovyScript, passing the given parameters and returning the script result.
        Specified by:
        invokeService in interface IGroovyService
        Parameters:
        parameters - the script parameters
        Returns:
        the results of the Groovy script invocation