tkobayas commented on code in PR #7264:
URL: https://github.com/apache/incubator-kie/pull/7264#discussion_r4477872278
##########
drools-core/src/main/java/org/drools/core/common/AgendaGroupQueueImpl.java:
##########
@@ -131,6 +131,11 @@ public void setFocus() {
reteEvaluator.addPropagation( new SetFocusAction( this.name ) );
}
+ @Override
+ public void activate() {
+ ((InternalAgenda)
reteEvaluator.getActivationsManager()).activateRuleFlowGroup(this.name);
+ }
+
Review Comment:
- This PR is to just add public APIs to wrap internal methods, not changing
the behavior.
- `DefaultAgenda.activateRuleFlowGroup` calls
`AgendaGroupQueueImpl.setFocus`, so it doesn't break focus-stack
propagation/ordering/thread-safety.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]