code: public static TaskTemplate getTemplateForName(String taskName) {
          for (int i = 0; i < taskVoCache.size(); i++) {
              TaskTemplate task = taskVoCache.get(i);
              if (task.getTaskName().equals(taskName)) {
                  return task;
              }
          }
          return null;
      }
docs: Return the latest task for the given name.