本文整理了Java中org.opennms.netmgt.xml.event.Event.getPathoutage()
方法的一些代码示例,展示了Event.getPathoutage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getPathoutage()
方法的具体详情如下:
包路径:org.opennms.netmgt.xml.event.Event
类名称:Event
方法名:getPathoutage
[英]Returns the value of field 'pathoutage'. The field 'pathoutage' has the following description: The path outage information
[中]
代码示例来源:origin: OpenNMS/opennms
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.18.0", "OctetString", "text", "null");
if (event.getPathoutage() != null)
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.19.0", "OctetString", "text", event.getPathoutage());
else
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.19.0", "OctetString", "text", "null");
代码示例来源:origin: OpenNMS/opennms
ovent.setEventPathOutage(event.getPathoutage() != null ? EventDatabaseConstants.format(event.getPathoutage(), EVENT_PATHOUTAGE_FIELD_SIZE) : null);
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
ovent.setEventPathOutage(event.getPathoutage() != null ? EventDatabaseConstants.format(event.getPathoutage(), EVENT_PATHOUTAGE_FIELD_SIZE) : null);
代码示例来源:origin: OpenNMS/opennms
oe.setEventPathOutage(event.getPathoutage());
try {
oe.setServiceType(m_serviceTypeDao.findByName(event.getService()));
代码示例来源:origin: org.opennms/opennms-dao-mock
oe.setEventPathOutage(event.getPathoutage());
try {
oe.setServiceType(m_serviceTypeDao.findByName(event.getService()));
内容来源于网络,如有侵权,请联系作者删除!