}
alertDefinition.setConditions(conditions);
List<AlertNotification> notifications = new ArrayList<AlertNotification>(adr.getNotifications().size());
// check if the sender by name exists
AlertSenderPluginManager pluginManager = alertManager.getAlertPluginManager();
for (AlertNotificationRest anr : adr.getNotifications()) {
AlertNotification notification = notificationRestToNotification(alertDefinition, anr);