code: public int getJobType() {
  	String jobType = getSingle("jobtype");
  	if (jobType == null) return -1;
  	if (jobType.equalsIgnoreCase("single")) {
  	    return JOBTYPE_SINGLE;
  	} else if (jobType.equalsIgnoreCase("multiple")) {
  	    return JOBTYPE_MULTIPLE;
  	} else if (jobType.equalsIgnoreCase("mpi")) {
  	    return JOBTYPE_MPI;
  	} else if (jobType.equalsIgnoreCase("condor")) {
  	    return JOBTYPE_CONDOR;
  	} else {
  	    return -1;
  	}
      }
docs: Returns type of the job.
  
  @return job type. -1 if not set or job type
  is unknown.