code: public PermalinkList getPermalinks() {
          // TODO: shall we cache this?
          PermalinkList permalinks = new PermalinkList(Permalink.BUILTIN);
          for (PermalinkProjectAction ppa : getActions(PermalinkProjectAction.class)) {
              permalinks.addAll(ppa.getPermalinks());
          }
          return permalinks;
      }
docs: Gets all the {@link Permalink}s defined for this job.
  
  @return never null