Retrieving task definition for a process

Hello,

is there any way to retrieve information about all tasks (user/service) in a deployed process definition? I would like to know, for a given process definition, all the tasks in that definition, their name, class, listeners, etc.

thanks!
d.