BackgroundTaskQueueManager.getInstance().addTask(task);
task.waitForDone();
}
public void setDescriptionAndName(final RepositoryEntry re, String displayName, String description ) {
SetDescriptionNameBackgroundTask task = new SetDescriptionNameBackgroundTask(re, displayName, description);
BackgroundTaskQueueManager.getInstance().addTask(task);
task.waitForDone();
}