com.envision.event.bean.EventEx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eos-event-api-new Show documentation
Show all versions of eos-event-api-new Show documentation
1.0 初版
1.1 增加了event的flag和custom_attr字段。
The newest version!
package com.envision.event.bean;
import com.envision.event.rule.EventRule;
/**
* 扩展的事件对象,此对象中的属性用于内部使用(例如排查问题等),对外部不可见
*
* @author kang.ouyang
*
*/
public class EventEx extends Event {
private Integer matchRuleID;
public EventEx() {
}
public EventEx(DataPoint point, EventRule rule) {
super(point, rule);
this.matchRuleID = rule.getId();
}
public Integer getMatchRuleID() {
return matchRuleID;
}
public void setMatchRuleID(Integer matchRuleID) {
this.matchRuleID = matchRuleID;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy