code: private Map<String, String> getContentProperties(final StorageProvider store,
                                                       final String spaceId,
                                                       final String contentId)
          throws TaskExecutionFailedException {
          try {
              return new Retrier().execute(new Retriable() {
                  @Override
                  public Map<String, String> retry() throws Exception {
                      // The actual method being executed
                      return store.getContentProperties(spaceId, contentId);
                  }
              }, new ExceptionHandler() {
                  @Override
                  public void handle(Exception ex) {
                      if (!(ex instanceof NotFoundException)) {
                          log.debug(ex.getMessage(), ex);
                      } else {
                          log.debug("retry attempt failed but probably not an issue: {}", ex.getMessage());
                      }
                  }
              });
          } catch (NotFoundException nfe) {
              return null;
          } catch (Exception e) {
              String msg = "Error attempting to retrieve content properties: " + e.getMessage();
              throw new DuplicationTaskExecutionFailedException(buildFailureMessage(msg), e);
          }
      }
docs: Retrieves the properties for the given content item
  
  @param store
  @param spaceId
  @param contentId
  @return
  @throws TaskExecutionFailedException