Feat: Add facade pattern to send notification

This commit is contained in:
Namu
2025-10-02 09:35:00 +02:00
parent 3479d5dcee
commit a26a8c6cf1
11 changed files with 90 additions and 85 deletions

View File

@@ -20,5 +20,15 @@ public abstract class Notification {
return this.state != NotificationState.SENT && this.state != NotificationState.READ;
}
public String getContent() {
return content;
}
/**
* Pas de change state car route non linéaire. On reste sur des enum !
*/
public abstract void send();
}