コード例 #1
0
 /**
  * setLogMessage
  *
  * @param content a {@link java.lang.String} object.
  * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object.
  */
 public EventBuilder setLogMessage(final String content) {
   ensureLogmsg();
   m_event.getLogmsg().setContent(content);
   return this;
 }
コード例 #2
0
 /**
  * setLogDest
  *
  * @param dest a {@link java.lang.String} object.
  * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object.
  */
 public EventBuilder setLogDest(final String dest) {
   ensureLogmsg();
   m_event.getLogmsg().setDest(dest);
   return this;
 }