somasorosdpc commented on code in PR #5539:
URL: https://github.com/apache/fineract/pull/5539#discussion_r2871565087
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/service/jobparameterprovider/AbstractJobParameterProvider.java:
##########
@@ -18,12 +18,18 @@
*/
package org.apache.fineract.infrastructure.jobs.service.jobparameterprovider;
+import java.util.List;
+
public abstract class AbstractJobParameterProvider<T> implements
JobParameterProvider<T> {
@Override
public boolean canProvideParametersForJob(String jobName) {
- return jobName.equals(getJobName());
+ return jobName.equals(getJobName()) || getJobNames().contains(jobName);
}
protected abstract String getJobName();
Review Comment:
done
--
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]