TaskInfo objects contain the information that can be used to create a task. Several implementations of this class exist, one for each type of task that can be run.
After a TaskInfo object is created, it can be submitted to the scheduler for task creation by calling the Scheduler.create() method.
For details about the TaskInfo interface, see the API documentation .