public class Task extends Object
Save the name of the task, the code block that is actually executed, the cron expression, and the information that is deferred.
It provides a stop method to stop yourself, at this point the task thread will stop and the execution will stop.
Copyright © 2018. All rights reserved.