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

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

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

Event.getUuid介绍

[英]Returns the value of field 'uuid'.
[中]返回字段“uuid”的值。

代码示例

代码示例来源:origin: OpenNMS/opennms

if (event.getUuid() != null) {
  receipt.addUuid(event.getUuid());
  hasReceipt = true;

代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon

if (event.getUuid() != null) {
  receipt.addUuid(event.getUuid());
  hasReceipt = true;

代码示例来源:origin: OpenNMS/opennms

for (Event event : eventLog.getEvents().getEventCollection()) {
  LOG.trace("Processing a syslog to event dispatch", event.toString());
  String uuid = event.getUuid();
  LOG.trace("Event {");
  LOG.trace("  uuid  = {}", (uuid != null && uuid.length() > 0 ? uuid : "<not-set>"));

代码示例来源:origin: OpenNMS/opennms

b.append(" Uei: " + event.getUei() + "\n");
if (event.getUuid() != null) {
  b.append(" Uuid: " + event.getUuid() + "\n");

代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon

final String uuid = event.getUuid();
LOG.debug("Event {");
LOG.debug("  uuid  = {}", (uuid != null && uuid.length() > 0 ? uuid : "<not-set>"));

代码示例来源:origin: OpenNMS/opennms

final String uuid = event.getUuid();
LOG.debug("Event {");
LOG.debug("  uuid  = {}", (uuid != null && uuid.length() > 0 ? uuid : "<not-set>"));

相关文章