TaskInfo objects contain the information to create a task. Several implementations of this class exist, one for each type of task that can 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 .