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

camundala.camunda.InputHandler.scala Maven / Gradle / Ivy

There is a newer version: 1.30.13
Show newest version
package camundala.camunda

import camundala.domain.*
import org.camunda.bpm.engine.delegate.{DelegateExecution, ExecutionListener}
import org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity

abstract class InputHandler[T <: Product: InOutCodec]
    extends ExecutionListener, Validator[T], Mocker:

  @throws[Exception]
  override def notify(execution: DelegateExecution): Unit =
    new ExecutionEntity().getProcessInstanceId
    validate(execution)
    mockOrProceed(execution)
  end notify
end InputHandler




© 2015 - 2024 Weber Informatics LLC | Privacy Policy