Interface RuleEngineCronJobDAO
-
- All Known Implementing Classes:
DefaultRuleEngineCronJobDAO
public interface RuleEngineCronJobDAODAO object to access to common repository related Job information
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountCronJobsByJob(java.lang.String jobCode, CronJobStatus... statuses)Get number of rule engine cron jobs for a given job code and specified statusesRuleEngineJobModelfindRuleEngineJobByCode(java.lang.String jobCode)Try to get the registered rule engine Job
-
-
-
Method Detail
-
countCronJobsByJob
int countCronJobsByJob(java.lang.String jobCode, CronJobStatus... statuses)Get number of rule engine cron jobs for a given job code and specified statuses- Parameters:
jobCode- code of the related jobstatuses- array of statuses to filter the cron jobs- Returns:
- a number of cron jobs satisfying the search criteria
-
findRuleEngineJobByCode
RuleEngineJobModel findRuleEngineJobByCode(java.lang.String jobCode)
Try to get the registered rule engine Job- Parameters:
jobCode- the code of job- Returns:
- the instance of
RuleEngineJobModel
-
-