log.warn("No method found: " + SELECT_POOL_FUNCTION);
log.warn("Resorting to default pool selection behavior.");
return selectBestPoolDefault(pools);
}
catch (RhinoException e) {
throw new RuleExecutionException(e);
}
if (pools.size() > 0 && (result == null || result.isEmpty())) {
throw new RuleExecutionException(
"Rule did not select a pool for products: " + Arrays.toString(productIds));
}
List<PoolQuantity> bestPools = new ArrayList<PoolQuantity>();
for (Pool p : pools) {