Class TaskNotificationListener
java.lang.Object
org.alfresco.repo.workflow.activiti.tasklistener.TaskNotificationListener
- All Implemented Interfaces:
Serializable,org.activiti.engine.delegate.TaskListener
public class TaskNotificationListener
extends Object
implements org.activiti.engine.delegate.TaskListener
Tasklistener that is notified when a task is created, will send email-notification if this is required for this workflow.
- Since:
- 4.2
- Author:
- Frederik Heremans
- See Also:
-
Field Summary
Fields inherited from interface org.activiti.engine.delegate.TaskListener
EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotify(org.activiti.engine.delegate.DelegateTask task) voidsetPropertyConverter(ActivitiPropertyConverter propertyConverter) void
-
Constructor Details
-
TaskNotificationListener
public TaskNotificationListener()
-
-
Method Details
-
setWorkflowNotification
- Parameters:
service- the service registry
-
setPropertyConverter
- Parameters:
propertyConverter- the property converter
-
notify
public void notify(org.activiti.engine.delegate.DelegateTask task) - Specified by:
notifyin interfaceorg.activiti.engine.delegate.TaskListener
-