Java Code Examples for com.ruoyi.quartz.util.CronUtils#isValid()
The following examples show how to use
com.ruoyi.quartz.util.CronUtils#isValid() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SysJobServiceImpl.java From supplierShop with MIT License | 2 votes |
/** * 校验cron表达式是否有效 * * @param cronExpression 表达式 * @return 结果 */ @Override public boolean checkCronExpressionIsValid(String cronExpression) { return CronUtils.isValid(cronExpression); }
Example 2
Source File: SysJobServiceImpl.java From ruoyiplus with MIT License | 2 votes |
/** * 校验cron表达式是否有效 * * @param cronExpression 表达式 * @return 结果 */ @Override public boolean checkCronExpressionIsValid(String cronExpression) { return CronUtils.isValid(cronExpression); }
Example 3
Source File: SysJobServiceImpl.java From RuoYi with Apache License 2.0 | 2 votes |
/** * 校验cron表达式是否有效 * * @param cronExpression 表达式 * @return 结果 */ @Override public boolean checkCronExpressionIsValid(String cronExpression) { return CronUtils.isValid(cronExpression); }