Interface HvlBpmnSchedulerService
- All Known Implementing Classes:
HvlBpmnSchedulerServiceImpl
@Validated
public interface HvlBpmnSchedulerService
This service provides scheduling methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
callAsyncSchedulerService
(@NotBlank String topic, HashMap<String, Object> payload) Call async scheduler service.void
callSyncSchedulerService
(@NotBlank String url, HashMap<String, Object> payload) Call sync scheduler service.void
finishScheduler
(@NotEmpty List<String> businessKeyList) Finish scheduler.restartScheduler
(@NotBlank String processInstanceId) Restart scheduler hvl runtime process model.startAsyncScheduler
(@NotNull @Valid HvlBpmnSchedulerModel schedulerModel, boolean overrideJob) Start async scheduler hvl runtime process model.startSyncScheduler
(@NotNull @Valid HvlBpmnSchedulerModel schedulerModel, boolean overrideJob) Start sync scheduler hvl runtime process model.
-
Method Details
-
startSyncScheduler
@Validated(SyncScheduler.class) HvlBpmnProcessInstanceModel startSyncScheduler(@NotNull @Valid @NotNull @Valid HvlBpmnSchedulerModel schedulerModel, boolean overrideJob) Start sync scheduler hvl runtime process model.- Parameters:
schedulerModel
- the scheduler modeloverrideJob
- the override job- Returns:
- the hvl runtime process model
-
startAsyncScheduler
@Validated(AsyncScheduler.class) HvlBpmnProcessInstanceModel startAsyncScheduler(@NotNull @Valid @NotNull @Valid HvlBpmnSchedulerModel schedulerModel, boolean overrideJob) Start async scheduler hvl runtime process model.- Parameters:
schedulerModel
- the scheduler modeloverrideJob
- the override job- Returns:
- the hvl runtime process model
-
restartScheduler
Restart scheduler hvl runtime process model.- Parameters:
processInstanceId
- the process instance id- Returns:
- the hvl runtime process model
-
finishScheduler
Finish scheduler.- Parameters:
businessKeyList
- the business key list
-
callSyncSchedulerService
Call sync scheduler service.- Parameters:
url
- the urlpayload
- the payload
-
callAsyncSchedulerService
Call async scheduler service.- Parameters:
topic
- the topicpayload
- the payload
-