Class TaskEventNotificationHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.task.core.service.TaskEventNotificationHelper
-
public final class TaskEventNotificationHelper extends Object
Helper for notifying task related events.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description TaskEventNotificationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventProducer
getEventProducer()
static void
notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)
static void
notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)
-
-
-
Constructor Detail
-
TaskEventNotificationHelper
public TaskEventNotificationHelper()
-
-
Method Detail
-
notifyEvent
public static void notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)
-
notifyTaskEnded
public static void notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)
- Since:
- 7.2
-
getEventProducer
public static EventProducer getEventProducer()
-
-