Interface InWorkerServiceScriptSetup

All Known Implementing Classes:
LastByDISInWorkerServiceScriptSetup

public interface InWorkerServiceScriptSetup
Interface to allow in-worker scripts to create variables to be exported. This is intended for use by in-worker services that allow scripts, such as DataImportServer instances. Implementing classes must include a no-argument constructor, even if it does nothing.
  • Method Details

    • createVariablesToBeExported

      @NotNull Map<String,Object> createVariablesToBeExported(Object createdService)
      Return the map of variables to be exported. The Map should contain each variable name and its value.
      Parameters:
      createdService - the service (e.g. DataImportService) created for this in-worker service
      Returns:
      the Map of variables and values