Class TicketExecutionListener

java.lang.Object
com.bytedesk.ticket.listener.TicketExecutionListener
All Implemented Interfaces:
Serializable, org.flowable.engine.delegate.BaseExecutionListener, org.flowable.engine.delegate.ExecutionListener

@Component("ticketExecutionListener") public class TicketExecutionListener extends Object implements org.flowable.engine.delegate.ExecutionListener
使用 ExecutionListener 处理流程执行和变量相关事件 ExecutionListener (执行监听器): 监听流程执行事件 事件类型:start、end、take 可以绑定到流程、活动、连线上 关注流程执行的生命周期 可以访问和修改流程变量 适合处理流程级别的业务逻辑 用途:监听流程执行的生命周期事件 绑定位置:流程定义、活动节点、连线 主要场景:流程级别的监控和处理 特点:可以访问和修改流程变量
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     

    Fields inherited from interface org.flowable.engine.delegate.BaseExecutionListener

    EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    handleProcessEnd(org.flowable.engine.delegate.DelegateExecution execution)
     
    private void
    handleProcessStart(org.flowable.engine.delegate.DelegateExecution execution)
     
    private void
    handleProcessTake(org.flowable.engine.delegate.DelegateExecution execution)
     
    void
    notify(org.flowable.engine.delegate.DelegateExecution execution)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TicketExecutionListener

      public TicketExecutionListener()
  • Method Details

    • notify

      public void notify(org.flowable.engine.delegate.DelegateExecution execution)
      Specified by:
      notify in interface org.flowable.engine.delegate.ExecutionListener
    • handleProcessStart

      private void handleProcessStart(org.flowable.engine.delegate.DelegateExecution execution)
    • handleProcessEnd

      private void handleProcessEnd(org.flowable.engine.delegate.DelegateExecution execution)
    • handleProcessTake

      private void handleProcessTake(org.flowable.engine.delegate.DelegateExecution execution)