Package org.fao.geonet.kernel.harvest.harvester

Examples of org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.destroy()


            AbstractHarvester ah = hmHarvesters.get(id);

            if (ah == null) {
                return OperResult.NOT_FOUND;
            }
            ah.destroy();
            settingMan.remove("harvesting/id:" + id);

            final HarvestHistoryRepository historyRepository = context.getBean(HarvestHistoryRepository.class);
            // set deleted status in harvest history table to 'y'
            historyRepository.markAllAsDeleted(ah.getParams().uuid);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.