Class GroovyScheduledService

All Implemented Interfaces:
IGroovyDebugLogService, IScheduledService, IServiceDefinitionAware, IUnitTestableService

public class GroovyScheduledService extends AbstractGroovyService implements IScheduledService
Provides a Groovy script based scheduled service.
  • Constructor Details

    • GroovyScheduledService

      public GroovyScheduledService()
  • Method Details

    • 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
    • invoke

      public String invoke()
      Invoke the scheduled service.
      Specified by:
      invoke in interface IScheduledService
      Returns:
      optionally any invocation result info message
      See Also:
    • invoke

      public Object invoke(Map<String,Object> params)
      Invoke the scheduled service.
      Parameters:
      params - the script parameters
      Returns:
      optionally any invocation result
      Since:
      23.4.2