code: @Override
      public void beforeStep(StepExecution stepExecution) {
          super.beforeStep(stepExecution);
          clearErrors();
          try {
              new Retrier().execute(new Retriable() {
                  /*
                   * (non-Javadoc)
                   *
                   * @see org.duracloud.common.retry.Retriable#retry()
                   */
                  @Override
                  public Object retry() throws Exception {
                      RestoreStatus newStatus = RestoreStatus.VERIFYING_TRANSFERRED_CONTENT;
                      restoreManager.transitionRestoreStatus(restoreId, newStatus, "");
                      return null;
                  }
              });
          } catch (Exception ex) {
              addError("failed to transition status to "
                       + RestoreStatus.VERIFYING_TRANSFERRED_CONTENT + ": " + ex.getMessage());
              stepExecution.addFailureException(ex);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.springframework.batch.core.StepExecutionListener#beforeStep(org.
  springframework.batch.core.StepExecution)