本文整理了Java中org.opennms.netmgt.xml.event.Event.<init>()
方法的一些代码示例,展示了Event.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.<init>()
方法的具体详情如下:
包路径:org.opennms.netmgt.xml.event.Event
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!