Class MemoryProcessSchedulerPlugin

java.lang.Object
io.vertigo.orchestra.plugins.services.schedule.memory.MemoryProcessSchedulerPlugin
All Implemented Interfaces:
io.vertigo.core.node.component.Activeable, io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Plugin, ProcessSchedulerPlugin, ProcessScheduler

public class MemoryProcessSchedulerPlugin extends Object implements ProcessSchedulerPlugin, io.vertigo.core.node.component.Activeable
  • Constructor Details

    • MemoryProcessSchedulerPlugin

      @Inject public MemoryProcessSchedulerPlugin(OrchestraDefinitionManager orchestraDefinitionManager)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface io.vertigo.core.node.component.Activeable
    • setProcessExecutor

      public void setProcessExecutor(ProcessExecutor processExecutor)
      Specified by:
      setProcessExecutor in interface ProcessSchedulerPlugin
    • stop

      public void stop()
      Specified by:
      stop in interface io.vertigo.core.node.component.Activeable
    • scheduleAt

      public void scheduleAt(ProcessDefinition processDefinition, Instant planifiedTime, Map<String,String> initialParams)
      Planifie un processus à une date donnée.
      Specified by:
      scheduleAt in interface ProcessScheduler
      Parameters:
      processDefinition - le processus à planifier
      planifiedTime - la date de planification
      initialParams - les paramètres initiaux à utiliser
    • getHandledProcessType

      public ProcessType getHandledProcessType()
      Description copied from interface: ProcessSchedulerPlugin
      Retourne le type de processus géré par le plugin
      Specified by:
      getHandledProcessType in interface ProcessSchedulerPlugin
      Returns:
      le type de processus géré