public void SetReview(Review review) { if (review.GetAuthor() == _sprint.GetScrumMaster()) { this._sprint.SetReview(review); } else { throw new SecurityException("Only the scrum master can add a review to a sprint"); } }
public void OnError() { // Pipeline failed, send notification _sprint.GetScrumMaster().SendNotification($"Hi {_sprint.GetScrumMaster().GetName()}, Development Pipeline for {_sprint.GetName()} has failed."); }