Autoacknowledge
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.opennms.netmgt.xml.event.Autoacknowledge (Showing top 8 results out of 315)

origin: org.opennms.features.events/org.opennms.features.events.api

/**
 * Create an instance of {@link Autoacknowledge }
 * 
 */
public Autoacknowledge createAutoacknowledge() {
  LOG.debug("createAutoacknowledge");
  return new Autoacknowledge();
}
origin: OpenNMS/opennms

public Autoacknowledge() {
  super();
  setContent("");
  setState("on");
}
origin: OpenNMS/opennms

/**
 * This method is used to transform an auto acknowledgement event
 * configuration instance into an auto acknowledgement event instance. This
 * is used when the incoming event does not have any auto acknowledgement
 * information and the information from the configuration object is copied.
 * 
 * @param src
 *            The configuration source to transform.
 * 
 * @return The transformed auto acknowledgement information.
 * 
 */
private org.opennms.netmgt.xml.event.Autoacknowledge transform(org.opennms.netmgt.xml.eventconf.Autoacknowledge src) {
  org.opennms.netmgt.xml.event.Autoacknowledge dest = new org.opennms.netmgt.xml.event.Autoacknowledge();
  dest.setContent(src.getContent());
  dest.setState(src.getState().toString());
  return dest;
}
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

/**
 * This method is used to transform an auto acknowledgement event
 * configuration instance into an auto acknowledgement event instance. This
 * is used when the incoming event does not have any auto acknowledgement
 * information and the information from the configuration object is copied.
 * 
 * @param src
 *            The configuration source to transform.
 * 
 * @return The transformed auto acknowledgement information.
 * 
 */
private org.opennms.netmgt.xml.event.Autoacknowledge transform(org.opennms.netmgt.xml.eventconf.Autoacknowledge src) {
  org.opennms.netmgt.xml.event.Autoacknowledge dest = new org.opennms.netmgt.xml.event.Autoacknowledge();
  dest.setContent(src.getContent());
  dest.setState(src.getState().toString());
  return dest;
}
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: org.opennms.features.events/org.opennms.features.events.api

public Autoacknowledge() {
  super();
  setContent("");
  setState("on");
}
origin: OpenNMS/opennms

/**
 * Create an instance of {@link Autoacknowledge }
 * 
 */
public Autoacknowledge createAutoacknowledge() {
  LOG.debug("createAutoacknowledge");
  return new Autoacknowledge();
}
org.opennms.netmgt.xml.eventAutoacknowledge

Javadoc

The autoacknowledge information for the user with state controlling if event is marked acknoledged when inserted into the database

Most used methods

  • <init>
  • setContent
    Sets the value of field 'content'. The field 'content' has the following description: internal conte
  • setState
    Sets the value of field 'state'.
  • getContent
    Returns the value of field 'content'. The field 'content' has the following description: internal co
  • getState
    Returns the value of field 'state'.

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • putExtra (Intent)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)