Package pro.taskana.spi.task.api
Interface CreateTaskPreprocessor
public interface CreateTaskPreprocessor
The CreateTaskPreprocessor allows to implement customized behaviour before the given Task has been created.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessTaskBeforeCreation(Task taskToProcess) Perform any action before a Task has been created through TaskService.createTask(Task).
-
Method Details
-
processTaskBeforeCreation
Perform any action before a Task has been created through TaskService.createTask(Task).This SPI is executed within the same transaction staple as TaskService.createTask(Task).
This SPI is executed with the same UserPrincipal and GroupPrincipal as in TaskService.createTask(Task).
- Parameters:
taskToProcess- the Task to preprocess
-