/** * Returns the AutoEvent associated with the auto-event-name * * @deprecated Use {@link ActionEvent} objects instead. Access these objects with {@link #getActionEvent(String)}. * @param name a {@link java.lang.String} object. * @return a {@link org.opennms.netmgt.config.vacuumd.AutoEvent} object. */ public synchronized AutoEvent getAutoEvent(String name) { for (AutoEvent ae : getAutoEvents()) { if (ae.getName().equals(name)) { return ae; } } return null; }