code: public void setJobInProgress(Boolean workInProgress) {
          lastDateInfo = new SimpleDateFormat(FILENAME_DATE_PATTERN).format(new Date());
          this.jobInProgress = workInProgress;
      }
docs: Set the connection status.
  
  @param workInProgress the connection work status.