Represents an event that is triggered when a task is created.
-
Constructor Summary
ConstructorsConstructorDescriptionTaskCreatedEvent(Task task) Constructor for creating a new TaskCreatedEvent. -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskCreatedEventCreates a new TaskCreatedEvent with the specified task.
-
Constructor Details
-
TaskCreatedEvent
Constructor for creating a new TaskCreatedEvent.- Parameters:
task- The task that has been created.
-
-
Method Details
-
of
Creates a new TaskCreatedEvent with the specified task.- Parameters:
task- The task that has been created.- Returns:
- A new instance of TaskCreatedEvent.
-