code: public ParallelTask getTaskFromInProgressMap(String jobId) {
          if (!inprogressTaskMap.containsKey(jobId))
              return null;
          return inprogressTaskMap.get(jobId);
      }
docs: Gets the task from in progress map.
  
  @param jobId
  the job id
  @return the task from in progress map