Class ThreadTaskListener

java.lang.Object
com.bytedesk.ticket.listener.ThreadTaskListener
All Implemented Interfaces:
Serializable, org.flowable.engine.delegate.TaskListener, org.flowable.task.service.delegate.BaseTaskListener, org.flowable.task.service.delegate.TaskListener

@Component("threadTaskListener") public class ThreadTaskListener extends Object implements org.flowable.engine.delegate.TaskListener
客服会话流程任务监听器 监听客服会话任务的生命周期事件: - 任务创建 - 任务分配 - 任务完成 - 任务删除
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     

    Fields inherited from interface org.flowable.task.service.delegate.BaseTaskListener

    EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    handleTaskAssignment(org.flowable.task.service.delegate.DelegateTask delegateTask)
     
    private void
    handleTaskComplete(org.flowable.task.service.delegate.DelegateTask delegateTask)
     
    private void
    handleTaskCreate(org.flowable.task.service.delegate.DelegateTask delegateTask)
     
    private void
    handleTaskDelete(org.flowable.task.service.delegate.DelegateTask delegateTask)
     
    void
    notify(org.flowable.task.service.delegate.DelegateTask delegateTask)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • ThreadTaskListener

      public ThreadTaskListener()
  • Method Details

    • notify

      public void notify(org.flowable.task.service.delegate.DelegateTask delegateTask)
      Specified by:
      notify in interface org.flowable.task.service.delegate.TaskListener
    • handleTaskCreate

      private void handleTaskCreate(org.flowable.task.service.delegate.DelegateTask delegateTask)
    • handleTaskAssignment

      private void handleTaskAssignment(org.flowable.task.service.delegate.DelegateTask delegateTask)
    • handleTaskComplete

      private void handleTaskComplete(org.flowable.task.service.delegate.DelegateTask delegateTask)
    • handleTaskDelete

      private void handleTaskDelete(org.flowable.task.service.delegate.DelegateTask delegateTask)