Package com.bytedesk.ticket.listener
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
FieldsFields inherited from interface org.flowable.task.service.delegate.BaseTaskListener
EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ThreadTaskListener
public ThreadTaskListener()
-
-
Method Details
-
notify
public void notify(org.flowable.task.service.delegate.DelegateTask delegateTask) - Specified by:
notify
in interfaceorg.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)
-