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

dev.bpmcrafters.processengineapi.task.CompleteTaskByErrorCmd.kt Maven / Gradle / Ivy

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

import dev.bpmcrafters.processengineapi.PayloadSupplier

/**
 * Command to complete the task by BPMN error.
 * @since 0.0.1
 */
open class CompleteTaskByErrorCmd(
  /**
   * Task id.
   */
  val taskId: String,
  /**
   * Error.
   */
  val errorCode: String,
  /**
   * Optional error details.
   */
  val errorMessage: String? = null,
  /**
   * Payload supplier.
   */
  private val payloadSupplier: PayloadSupplier
) : PayloadSupplier by payloadSupplier




© 2015 - 2024 Weber Informatics LLC | Privacy Policy