dev.bpmcrafters.processengineapi.correlation.CorrelationApi.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of process-engine-api Show documentation
Show all versions of process-engine-api Show documentation
Java API for engine-independent process functionality.
The 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 correlate messages with running process instances.
* @since 0.0.1
*/
interface CorrelationApi : MetaInfoAware, RestrictionAware {
/**
* Correlates message.
* @param cmd command to correlate.
* @return future to indicate completion.
*/
fun correlateMessage(cmd: CorrelateMessageCmd): Future
}