提交 90fa50e9 编写于 作者: Y youyong

Merge branch 'master' of ssh://192.168.8.22:58422/cat

package com.dianping.dog.alarm.notification;
import java.util.List;
import com.dianping.dog.event.Event;
public interface EmailEvent extends Event{
public String getTitle();
public String getContent();
public List<String> getTos();
}
package com.dianping.dog.alarm.notification;
import java.util.List;
import com.dianping.dog.event.Event;
public interface SmsEvent extends Event{
public String getContent();
public List<String> getPhoneNumbers();
}
<?xml version="1.0" encoding="utf-8"?>
<rule>
<problem-template id="max-min-template">
<connector url="http://cat.dianpingoa.com" duration="200">
<data-param report="Promblem" domain="tester" type="error"
status="RuntimeException" />
</connector>
<match class="com.dianping.dog.ProblemRuleListener">
<match-param min="20" max="10" avg="200" failcount="1000"></match-param>
</match>
</problem-template>
<event-template id="event-max-min-template">
<connector url="http://cat.dianpingoa.com" duration="200">
<data-param report="Promblem" domain="tester" type="error"
name="RuntimeException" />
</connector>
<match class="com.dianping.dog.EventRuleListener">
<match-param min="20" max="10" avg="200" failcount="1000"></match-param>
</match>
</event-template>
<transaction-template id="transaction-max-min-template">
<connector url="http://cat.dianpingoa.com" duration="200">
<data-param report="Promblem" domain="tester" type="error"
name="RuntimeException" />
</connector>
<match class="com.dianping.dog.TransactionRuleListener">
<match-param min="20" max="10" avg="200" failcount="1000"></match-param>
</match>
</transaction-template>
</rule>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册