java.lang.Object
no.ntnu.principes.event.PrincipesEvent<List<Task>>
no.ntnu.principes.event.task.TasksDistributedEvent
Represents an event that is triggered when tasks are distributed to household members.
-
Constructor Summary
ConstructorsConstructorDescriptionTasksDistributedEvent(List<Task> tasks) Constructor for creating a new TasksDistributedEvent. -
Method Summary
Modifier and TypeMethodDescriptionstatic TasksDistributedEventCreates a new TasksDistributedEvent with the specified tasks.
-
Constructor Details
-
TasksDistributedEvent
Constructor for creating a new TasksDistributedEvent.- Parameters:
tasks- The tasks that has been created.
-
-
Method Details
-
of
Creates a new TasksDistributedEvent with the specified tasks.- Parameters:
tasks- The tasks that has been distributed.- Returns:
- A new instance of TasksDistributedEvent.
-