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);