Added generic tasks getters.
Added generic tasks getters.

fargies/jenkins-valgrind-plugin,fargies/jenkins-valgrind-plugin,jenkinsci/tasks-plugin,fargies/jenkins-valgrind-plugin,amuniz/tasks-plugin,jenkinsci/tasks-plugin,amuniz/tasks-plugin,amuniz/tasks-plugin,jenkinsci/tasks-plugin