@Override
	public Job getJob(final String name) throws NoSuchJobException {
		if (!getJobNames().contains(name)) {
			throw new NoSuchJobException(name);
		}
		// Return a simple job that currently supports
		// - Get job name
		// - Get step names of the given job
		SimpleJob job = new SimpleJob(name) {

			@Override
			public Collection<String> getStepNames() {
				return getJobStepNames(name);
			}
		};
		return job;
	}
Get simple batch job representation for the given job name.

@param name the job name
@return Job a simple batch job consisting of its step names.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/DistributedJobLocator.java