persistence.delete(new PanelRegistryEntry(taskType));
}
persistence.create(new PanelRegistryEntry(taskType, panelClass));
LOGGER.info("Successfully registered {} for task type {}", panelClass.getName(), taskType);
} catch (PersistenceException e) {
throw new TaskboxException(e);
}
}