Comparator<Object> difficultyComparator = ConfigUtils.newInstance(this,
"difficultyComparatorClass", difficultyComparatorClass);
planningEntitySorter.setDifficultyComparator(difficultyComparator);
}
if (difficultyWeightFactoryClass != null) {
PlanningEntityDifficultyWeightFactory difficultyWeightFactory = ConfigUtils.newInstance(this,
"difficultyWeightFactoryClass", difficultyWeightFactoryClass);
planningEntitySorter.setDifficultyWeightFactory(difficultyWeightFactory);
}
}