/** * This method is used to transform an auto action event configuration * instance into an auto action event instance. This is used when the * incoming event does not have any auto action information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed auto action information. * */ private org.opennms.netmgt.xml.event.Autoaction transform(org.opennms.netmgt.xml.eventconf.Autoaction src) { org.opennms.netmgt.xml.event.Autoaction dest = new org.opennms.netmgt.xml.event.Autoaction(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); return dest; }
/** * This method is used to transform a trouble ticket event configuration * instance into a trouble ticket event instance. This is used when the * incoming event does not have any trouble ticket information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed trouble ticket information. * */ private org.opennms.netmgt.xml.event.Tticket transform(org.opennms.netmgt.xml.eventconf.Tticket src) { org.opennms.netmgt.xml.event.Tticket dest = new org.opennms.netmgt.xml.event.Tticket(); 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; }
/** * 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 action event configuration * instance into an auto action event instance. This is used when the * incoming event does not have any auto action information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed auto action information. * */ private org.opennms.netmgt.xml.event.Autoaction transform(org.opennms.netmgt.xml.eventconf.Autoaction src) { org.opennms.netmgt.xml.event.Autoaction dest = new org.opennms.netmgt.xml.event.Autoaction(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); return dest; }
/** * This method is used to transform a trouble ticket event configuration * instance into a trouble ticket event instance. This is used when the * incoming event does not have any trouble ticket information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed trouble ticket information. * */ private org.opennms.netmgt.xml.event.Tticket transform(org.opennms.netmgt.xml.eventconf.Tticket src) { org.opennms.netmgt.xml.event.Tticket dest = new org.opennms.netmgt.xml.event.Tticket(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); return dest; }
/** * This method is used to transform an operator action event configuration * instance into an operator action event instance. This is used when the * incoming event does not have any operator action information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed operator action information. * */ private org.opennms.netmgt.xml.event.Operaction transform(org.opennms.netmgt.xml.eventconf.Operaction src) { org.opennms.netmgt.xml.event.Operaction dest = new org.opennms.netmgt.xml.event.Operaction(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); dest.setMenutext(src.getMenutext()); return dest; }
/** * This method is used to transform an operator action event configuration * instance into an operator action event instance. This is used when the * incoming event does not have any operator action information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed operator action information. * */ private org.opennms.netmgt.xml.event.Operaction transform(org.opennms.netmgt.xml.eventconf.Operaction src) { org.opennms.netmgt.xml.event.Operaction dest = new org.opennms.netmgt.xml.event.Operaction(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); dest.setMenutext(src.getMenutext()); return dest; }
/** * This method is used to transform a forward event configuration instance * into a forward event instance. This is used when the incoming event does * not have any forward information and the information from the * configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed forward information. * */ private org.opennms.netmgt.xml.event.Forward transform(org.opennms.netmgt.xml.eventconf.Forward src) { org.opennms.netmgt.xml.event.Forward dest = new org.opennms.netmgt.xml.event.Forward(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); dest.setMechanism(src.getMechanism().toString()); return dest; }
/** * This method is used to transform a forward event configuration instance * into a forward event instance. This is used when the incoming event does * not have any forward information and the information from the * configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed forward information. * */ private org.opennms.netmgt.xml.event.Forward transform(org.opennms.netmgt.xml.eventconf.Forward src) { org.opennms.netmgt.xml.event.Forward dest = new org.opennms.netmgt.xml.event.Forward(); dest.setContent(src.getContent()); dest.setState(src.getState().toString()); dest.setMechanism(src.getMechanism().toString()); return dest; }
/** * This method is used to transform a correlation event configuration * instance into a correlation event instance. This is used when the * incoming event does not have any correlation information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed correlation information. * */ private org.opennms.netmgt.xml.event.Correlation transform(org.opennms.netmgt.xml.eventconf.Correlation src) { org.opennms.netmgt.xml.event.Correlation dest = new org.opennms.netmgt.xml.event.Correlation(); dest.setCuei(src.getCueis()); dest.setCmin(src.getCmin()); dest.setCmax(src.getCmax()); dest.setCtime(src.getCtime()); dest.setState(src.getState().toString()); dest.setPath(src.getPath().toString()); return dest; }
/** * This method is used to transform a correlation event configuration * instance into a correlation event instance. This is used when the * incoming event does not have any correlation information and the * information from the configuration object is copied. * * @param src * The configuration source to transform. * * @return The transformed correlation information. * */ private org.opennms.netmgt.xml.event.Correlation transform(org.opennms.netmgt.xml.eventconf.Correlation src) { org.opennms.netmgt.xml.event.Correlation dest = new org.opennms.netmgt.xml.event.Correlation(); dest.setCuei(src.getCueis()); dest.setCmin(src.getCmin()); dest.setCmax(src.getCmax()); dest.setCtime(src.getCtime()); dest.setState(src.getState().toString()); dest.setPath(src.getPath().toString()); return dest; }