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 Summary
Constructors Constructor Description MemoryProcessSchedulerPlugin(OrchestraDefinitionManager orchestraDefinitionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessType
getHandledProcessType()
Retourne le type de processus géré par le pluginvoid
scheduleAt(ProcessDefinition processDefinition, Instant planifiedTime, Map<String,String> initialParams)
Planifie un processus à une date donnée.void
setProcessExecutor(ProcessExecutor processExecutor)
void
start()
void
stop()
-
-
-
Constructor Detail
-
MemoryProcessSchedulerPlugin
@Inject public MemoryProcessSchedulerPlugin(OrchestraDefinitionManager orchestraDefinitionManager)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceio.vertigo.core.node.component.Activeable
-
setProcessExecutor
public void setProcessExecutor(ProcessExecutor processExecutor)
- Specified by:
setProcessExecutor
in interfaceProcessSchedulerPlugin
-
stop
public void stop()
- Specified by:
stop
in interfaceio.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 interfaceProcessScheduler
- Parameters:
processDefinition
- le processus à planifierplanifiedTime
- la date de planificationinitialParams
- 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 interfaceProcessSchedulerPlugin
- Returns:
- le type de processus géré
-
-