code: public TaskDef getTaskDef(String taskType) {
          Preconditions.checkArgument(StringUtils.isNotBlank(taskType), "Task type cannot be blank");
          return getForEntity("metadata/taskdefs/{tasktype}", null, TaskDef.class, taskType);
      }
docs: Retrieve the task definition of a given task type
  
  @param taskType type of task for which to retrieve the definition
  @return Task Definition for the given task type