private String getTemplate(final TaskView view) {
    final String templateString = view.template();
    if (templateString == null) {
      return "View template provided by plugin is null.";
    }

    final Matcher matcher = CLASSPATH_MATCHER_PATTERN.matcher(templateString);
    if (matcher.matches()) {
      return loadTemplateFromClasspath(matcher.group(1), view);
    } else return templateString;
  }