code: public JobResult job(String jobname) {
          HttpGet getRequest = new HttpGet(baseUrl + "job/" + jobname);
          getRequest.addHeader("Accept", "application/xml");
          return jobResult(getRequest);
      }
docs: Returns the job state object given a jobname.
  @param jobname job name
  @return job state