public List<TaskDef> getTaskDefs() {
        return metadataDAO.getAllTaskDefs();
    }
@return List of all the registered tasks
core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java