本文整理了Java中org.opennms.netmgt.xml.event.Event.getForwardCount()
方法的一些代码示例,展示了Event.getForwardCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getForwardCount()
方法的具体详情如下:
包路径:org.opennms.netmgt.xml.event.Event
类名称:Event
方法名:getForwardCount
[英]Method getForwardCount.
[中]方法getForwardCount。
代码示例来源:origin: OpenNMS/opennms
b.append(" DistPoller: " + event.getDistPoller() + "\n");
if (event.getForwardCount() > 0) {
b.append(" Forwards:");
for (Iterator<Forward> i = event.getForwardCollection().iterator(); i.hasNext(); ) {
代码示例来源:origin: OpenNMS/opennms
ovent.setEventForward(event.getForwardCount() > 0 ? Forward.format(event.getForward(), EVENT_FORWARD_FIELD_SIZE) : null);
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
ovent.setEventForward(event.getForwardCount() > 0 ? Forward.format(event.getForward(), EVENT_FORWARD_FIELD_SIZE) : null);
代码示例来源:origin: org.opennms/opennms-dao-mock
oe.setEventForward((event.getForwardCount() > 0) ? org.opennms.netmgt.dao.util.Forward.format(event.getForward(), EVENT_FORWARD_FIELD_SIZE) : null);
oe.setIfIndex(event.getIfIndex());
oe.setIpAddr(event.getInterfaceAddress());
代码示例来源:origin: OpenNMS/opennms
oe.setEventForward((event.getForwardCount() > 0) ? org.opennms.netmgt.dao.util.Forward.format(event.getForward(), EVENT_FORWARD_FIELD_SIZE) : null);
oe.setIfIndex(event.getIfIndex());
oe.setIpAddr(event.getInterfaceAddress());
代码示例来源:origin: OpenNMS/opennms
e.removeAllForward();
if (e.getForwardCount() == 0 && econf.getForwards().size() > 0) {
econf.getForwards().forEach(fc -> {
e.addForward(transform(fc));
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
e.removeAllForward();
if (e.getForwardCount() == 0 && econf.getForwards().size() > 0) {
econf.getForwards().forEach(fc -> {
e.addForward(transform(fc));
内容来源于网络,如有侵权,请联系作者删除!