## 类的使用
org.springframework.scheduling.config.Task

- 使用Task的程序包
  程序包 | 说明
  --- | ---
  org.springframework.scheduling.config | Support package for declarative scheduling configuration, with XML schema being the primary configuration format.

- - ### org.springframework.scheduling.config中Task的使用

    org.springframework.scheduling.config中Task的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `CronTask` `TriggerTask` implementation defining a `Runnable` to be executed according to a standard cron expression.
    `class` | `FixedDelayTask` Specialization of `IntervalTask` for fixed-delay semantics.
    `class` | `FixedRateTask` Specialization of `IntervalTask` for fixed-rate semantics.
    `class` | `IntervalTask` `Task` implementation defining a `Runnable` to be executed at a given millisecond interval which may be treated as fixed-rate or fixed-delay depending on context.
    `class` | `TriggerTask` `Task` implementation defining a `Runnable` to be executed according to a given `Trigger`.

    返回Task的org.springframework.scheduling.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Task` | ScheduledTask.`getTask()` Return the underlying task (typically a `CronTask`, `FixedRateTask` or `FixedDelayTask`).