Represents an event that is triggered when multiple tasks are created.
-
Constructor Summary
ConstructorsConstructorDescriptionTasksCreatedEvent(List<Task> task) Constructor for creating a new TaskCreatedEvent. -
Method Summary
Modifier and TypeMethodDescriptionstatic TasksCreatedEventCreates a new TasksCreatedEvent with the specified tasks.
-
Constructor Details
-
TasksCreatedEvent
Constructor for creating a new TaskCreatedEvent.- Parameters:
task- The tasks that have been created.
-
-
Method Details
-
of
Creates a new TasksCreatedEvent with the specified tasks.- Parameters:
task- The task that has been created.- Returns:
- A new instance of TaskCreatedEvent.
-