use of org.opennms.netmgt.xml.event.Logmsg in project opennms by OpenNMS.
the class EventTranslatorIT method createEventWithParms.
private Event createEventWithParms(String uei, List<Parm> parms) {
Event e = MockEventUtil.createEventBuilder("Automation", uei).getEvent();
e.setHost("localhost");
e.setParmCollection(parms);
Logmsg logmsg = new Logmsg();
logmsg.setContent("Testing Passive Status Keeper with down status");
e.setLogmsg(logmsg);
return e;
}
Aggregations