dev.bpmcrafters.processengineapi.process.StartProcessByDefinitionCmd.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.
package dev.bpmcrafters.processengineapi.process
import dev.bpmcrafters.processengineapi.PayloadSupplier
/**
* Command to start a new process instance by process definition key.
* @since 0.0.1
*/
data class StartProcessByDefinitionCmd(
/**
* Process definition key.
*/
val definitionKey: String,
/**
* Payload supplier to pass to the new process instance.
*/
val payloadSupplier: PayloadSupplier
) : StartProcessCommand, PayloadSupplier by payloadSupplier