/**
* Prints out the TaskDescription and TaskDef for the given task.
*/
public void describeTask(String id) {
TaskManager taskManager = getTaskManager();
//description:
System.out.println("Overview:");
System.out.println("-----------------------------------");
TaskDescription taskDesc = taskManager.getTaskDescription(id);
System.out.println("Name: " + taskDesc.getName());
System.out.println("Description: " + taskDesc.getDescription());
System.out.println();
//parameters:
TaskDef taskDef = taskManager.getTaskDefinition(id);
System.out.println(taskDef);
}