Optaplanners,
I'm looking to add some dynamic goodness to ValueRangeProvider. The only way I
see to specify a ValueRangeProvider is via annotation.
I'd like to be able to generate the id and Collection of candidate values
dynamically. Is it possible to generate the ValueRangeProvider data outside of
an annotation?
For example:
public class MyDataSource {
public Collection getValues(String id) {
…
return values;
}
}
Thanks,
Drew
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users