code: public void updateStatus(JobStatus newStatus) {
      JobMonitor monitor = getJobMonitor(newStatus);
      monitor.updateStatus(newStatus);
    }
docs: Updates the appropriate <code>ProgressMonitor</code> (creating one if
  necessary) according to the new status of the job.
  @param newStatus The <code>JobStatus</code> indicating the new status of
  the job.