All Posts

Design Pattern Series - Builder Pattern

The Problem

Let’s assume we are building an Alert Management System to capture & direct all the alerts within an organization. How do we model the Alert domain object? Typically an Alert would have a source - the source of the alert, time - when the alert was generated, destination - who should act on the alert, severity - the severity of the alert.