public Autoacknowledge() { super(); setContent(""); setState("on"); }
public Autoacknowledge() { super(); setContent(""); setState("on"); }
/** * 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; }
/** * 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; }