Interface HvlBpmnSchedulerService

All Known Implementing Classes:
HvlBpmnSchedulerServiceImpl

@Validated public interface HvlBpmnSchedulerService
This service provides scheduling methods.
  • 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 model
      overrideJob - 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 model
      overrideJob - the override job
      Returns:
      the hvl runtime process model
    • restartScheduler

      HvlBpmnProcessInstanceModel restartScheduler(@NotBlank @NotBlank String processInstanceId)
      Restart scheduler hvl runtime process model.
      Parameters:
      processInstanceId - the process instance id
      Returns:
      the hvl runtime process model
    • finishScheduler

      void finishScheduler(@NotEmpty @NotEmpty List<String> businessKeyList)
      Finish scheduler.
      Parameters:
      businessKeyList - the business key list
    • callSyncSchedulerService

      void callSyncSchedulerService(@NotBlank @NotBlank String url, HashMap<String,Object> payload)
      Call sync scheduler service.
      Parameters:
      url - the url
      payload - the payload
    • callAsyncSchedulerService

      void callAsyncSchedulerService(@NotBlank @NotBlank String topic, HashMap<String,Object> payload)
      Call async scheduler service.
      Parameters:
      topic - the topic
      payload - the payload