All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.bpmcrafters.processengineapi.correlation.SignalApi.kt Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package dev.bpmcrafters.processengineapi.correlation

import dev.bpmcrafters.processengineapi.Empty
import dev.bpmcrafters.processengineapi.MetaInfoAware
import dev.bpmcrafters.processengineapi.RestrictionAware
import java.util.concurrent.Future

/**
 * API to send signals to running process instances.
 * @since 0.0.1
 */
interface SignalApi : MetaInfoAware, RestrictionAware {

  /**
   * Delivers a signal event to process engine.
   * @param cmd command to deliver.
   * @return future to indicate completion.
   */
  fun sendSignal(cmd: SendSignalCmd): Future
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy