public TaskDef getTaskDef(String taskType) {
        Validate.notBlank(taskType, "Task type cannot be blank");
        return getForEntity("metadata/taskdefs/{tasktype}", null, TaskDef.class, taskType);
    }
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
client/src/main/java/com/netflix/conductor/client/http/MetadataClient.java