new ArrayList<>();
repCritFactories.add(repCriterionFactory);
repCritFactories.addAll(configurator.getReplicationCriterionFactories());
taskConfig
.setReplicationCriterionFactory(new ParameterizedFactory<RepCriterionFactory>(
new MaximizingReplicationCriterionFactory(),
new ParameterBlock()
.addSubBl(
MaximizingReplicationCriterionFactory.REPLICATION_CRITERION_FACTORIES,
repCritFactories)));
}