private DetailedJobInfoResource getJobInfoResource(String jobName) {
		Job deployedJob = xdJobrepository.findOne(jobName);
		DetailedJobInfo detailedJobInfo = getJobInfo(jobName, (null != deployedJob));
		return (detailedJobInfo != null) ? jobInfoResourceAssembler.instantiateResource(detailedJobInfo) : null;
	}
@param jobName
@return the detailed job info resource for the given job name.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/BatchJobsController.java