@@ -0,0 +1,453 @@
+package com.dianping.cat.report.task.alert.sender.decorator;%0A%0Aimport java.text.DateFormat;%0Aimport java.text.SimpleDateFormat;%0A%0Aimport com.dianping.cat.report.task.alert.sender.AlertEntity;%0A%0Apublic abstract class DefaultDecorator implements Decorator %7B%0A%0A%09protected DateFormat m_format = new SimpleDateFormat(%22yyyy-MM-dd HH:mm%22);%0A%0A%09public String generateContent(AlertEntity alert) %7B%0A%09%09return alert.getContent() + buildContactInfo(alert.getGroup());%0A%09%7D%0A%0A%7D%0A

add DefaultDecorator