org.opennms.netmgt.xml.event.Event.getForwardCount()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中org.opennms.netmgt.xml.event.Event.getForwardCount()方法的一些代码示例,展示了Event.getForwardCount()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getForwardCount()方法的具体详情如下:
包路径:org.opennms.netmgt.xml.event.Event
类名称:Event
方法名:getForwardCount

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));

相关文章