docs: public Set<CmsPublishedResource> getRelatedResources(CmsObject cms, CmsPublishedResource publishedResource)
      throws CmsException {
  
          if (match(publishedResource.getRootPath())) {
              return getExportResources(cms);
          }
          return null;
      }