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

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

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

Event.getAutoacknowledge介绍

[英]Returns the value of field 'autoacknowledge'. The field 'autoacknowledge' has the following description: The autoacknowledge information for the user
[中]返回字段“自动确认”的值。“自动确认”字段具有以下描述:用户的自动确认信息

代码示例

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

final StringBuilder b = new StringBuilder("Event: ");
b.append("\n");
if (event.getAutoacknowledge() != null) {
  b.append(" Autoacknowledge: " + event.getAutoacknowledge() + "\n");

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

if (event.getAutoacknowledge() != null && "on".equals(event.getAutoacknowledge().getState())) {
  ovent.setEventAckUser(EventDatabaseConstants.format(event.getAutoacknowledge().getContent(), EVENT_ACKUSER_FIELD_SIZE));

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

if (event.getAutoacknowledge() != null && "on".equals(event.getAutoacknowledge().getState())) {
  ovent.setEventAckUser(EventDatabaseConstants.format(event.getAutoacknowledge().getContent(), EVENT_ACKUSER_FIELD_SIZE));

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

e.setAutoacknowledge(null);
if (e.getAutoacknowledge() == null && econf.getAutoacknowledge() != null) {
  e.setAutoacknowledge(transform(econf.getAutoacknowledge()));

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

e.setAutoacknowledge(null);
if (e.getAutoacknowledge() == null && econf.getAutoacknowledge() != null) {
  e.setAutoacknowledge(transform(econf.getAutoacknowledge()));

相关文章