-
Feature Request
-
Resolution: Done
-
Major
-
None
Once generic move factories are actually generic selectors, we'd have something like this:
<selector> <type>CHANGE_MOVE</> <planningEntityClassIncludes>...</> <planningVariableIncludes>...</> <isDoableFilterClass>...MyIsDoableFilterClass</>
Old description:
This feature would be done for the same purpose as JBRULES-3330 and also implemented in very much the same way - the Move.isMoveDoable() checks for the existence of any filters and runs all of them. If any of them returns false, the move is not doable.
Perhaps JBRULES-3330 and this one could even share the interface - MoveFilter.filter(Solution s, Move m) and newly added MoveFilter.isMoveDoable(Move m).
- is related to
-
PLANNER-87 Provide MoveFilter for generic factories
- Resolved