Package pro.taskana.spi.task.api
Interface CreateTaskPreprocessor
-
public interface CreateTaskPreprocessorThe CreateTaskPreprocessor allows to implement customized behaviour before the given Task has been created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessTaskBeforeCreation(Task taskToProcess)Perform any action before a Task has been created through TaskService.createTask(Task).
-
-
-
Method Detail
-
processTaskBeforeCreation
void processTaskBeforeCreation(Task taskToProcess)
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
-
-