Class ScriptJobServiceImpl

Object
ScriptJobServiceImpl
All Implemented Interfaces:
ScriptJobService

@Service public class ScriptJobServiceImpl extends Object implements ScriptJobService
  • Field Details

  • Constructor Details

    • ScriptJobServiceImpl

      public ScriptJobServiceImpl()
  • Method Details

    • setScriptService

      @Inject public void setScriptService(ScriptService scriptService)
    • setScriptLibraryService

      @Inject public void setScriptLibraryService(ScriptLibraryService scriptLibraryService)
    • setLogService

      @Inject public void setLogService(LogService logService)
    • setNotificationService

      @Inject public void setNotificationService(NotificationService notificationService)
    • setApplicationPool

      @Inject @Qualifier("taskExecutor") public void setApplicationPool(ThreadPoolTaskExecutor applicationPool)
    • setFeriadoService

      @Inject public void setFeriadoService(FeriadoService feriadoService)
    • logRemoteExecutionFailed

      public void logRemoteExecutionFailed(int scheduleId, String targetNode, Throwable e)
      Specified by:
      logRemoteExecutionFailed in interface ScriptJobService
    • logRemoteExecutionStart

      public ScheduleJobLog logRemoteExecutionStart(int scheduleId, String targetNode)
      Specified by:
      logRemoteExecutionStart in interface ScriptJobService
    • executeScriptJob

      public Long executeScriptJob(int scheduleId) throws JobExecutionException
      Specified by:
      executeScriptJob in interface ScriptJobService
      Throws:
      JobExecutionException
    • logFinishedException

      public void logFinishedException(Long logId, long duration, StatusExecucao status, String frames)
      Specified by:
      logFinishedException in interface ScriptJobService