org.springframework.scheduling.config

## 类 ScheduledTask

- java.lang.Object
- - org.springframework.scheduling.config.ScheduledTask

-     public final class ScheduledTask
      extends Object

  A representation of a scheduled task at runtime, used as a return value for scheduling methods.
  从以下版本开始:
    4.3
  作者:
    Juergen Hoeller
  另请参阅:
    `ScheduledTaskRegistrar.scheduleCronTask(CronTask)`, `ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)`, `ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)`

- - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `cancel()` Trigger cancellation of this scheduled task.
    `Task` | `getTask()` Return the underlying task (typically a `CronTask`, `FixedRateTask` or `FixedDelayTask`).
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 方法详细资料

    - #### getTask

          public Task getTask()

      Return the underlying task (typically a `CronTask`, `FixedRateTask` or `FixedDelayTask`).
      从以下版本开始:
        5.0.2

    - #### cancel

          public void cancel()

      Trigger cancellation of this scheduled task.

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`