类 CronTask
java.lang.Object
cn.taketoday.scheduling.config.Task
cn.taketoday.scheduling.config.TriggerTask
cn.taketoday.scheduling.config.CronTask
TriggerTask implementation defining a Runnable to be executed according
to a standard cron expression.- 从以下版本开始:
- 4.0
- 作者:
- Chris Beams
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return the cron expression defining when the task should be executed.从类继承的方法 cn.taketoday.scheduling.config.TriggerTask
getTrigger从类继承的方法 cn.taketoday.scheduling.config.Task
getRunnable, toString
-
构造器详细资料
-
CronTask
Create a newCronTask.- 参数:
runnable- the underlying task to executeexpression- the cron expression defining when the task should be executed
-
CronTask
Create a newCronTask.- 参数:
runnable- the underlying task to executecronTrigger- the cron trigger defining when the task should be executed
-
-
方法详细资料
-
getExpression
Return the cron expression defining when the task should be executed.
-