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

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

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

Event.<init>介绍

暂无

代码示例

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

/**
 * <p>Constructor for EventBuilder.</p>
 *
 * @param uei a {@link java.lang.String} object.
 * @param source a {@link java.lang.String} object.
 */
public EventBuilder() {
  m_event = new Event();
}

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

/**
 * Create an instance of {@link Event }
 * 
 */
public Event createEvent() {
  LOG.debug("createEvent");
  return new Event();
}

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

/**
 * Create an instance of {@link Event }
 * 
 */
public Event createEvent() {
  LOG.debug("createEvent");
  return new Event();
}

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

for (EventMatcher matcher : matchers) {
  org.opennms.netmgt.xml.event.Event eventToMatch = new org.opennms.netmgt.xml.event.Event();

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

/**
 * <p>Constructor for EventBuilder.</p>
 *
 * @param uei a {@link java.lang.String} object.
 * @param source a {@link java.lang.String} object.
 * @param date a {@link java.util.Date} object.
 */
public EventBuilder(final String uei, final String source, final Date date) {
  m_event = new Event();
  setUei(uei);
  setTime(date);
  setSource(source);
  checkForIllegalUei();
}

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

final Event event = new Event();
Querier querier = new Querier(m_dataSource, "select * from events where eventid = ?", new RowProcessor() {

代码示例来源:origin: org.opennms.features/org.opennms.features.opennms-es-rest

private static Event toEvent(OnmsEvent onmsEvent) {
  final Event event = new Event();
  if (onmsEvent.getId() != null) event.setDbid(onmsEvent.getId());
  if (onmsEvent.getEventUei() != null ) event.setUei(onmsEvent.getEventUei());

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

private static Event toEvent(OnmsEvent onmsEvent) {
  final Event event = new Event();
  if (onmsEvent.getId() != null) event.setDbid(onmsEvent.getId());
  if (onmsEvent.getEventUei() != null ) event.setUei(onmsEvent.getEventUei());

代码示例来源:origin: org.opennms.plugins/opennms-es-rest.main-module

Event event = new Event();

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

private Event getXMLEvent(OnmsAlarm alarm) {
  Event event = new Event();

相关文章