@Override
	protected JobInfoResource instantiateResource(JobInfo entity) {
		return new JobInfoResource(entity.getName(), entity.getExecutionCount(), entity.getJobInstanceId(),
				entity.isLaunchable(), entity.isIncrementable(), entity.isDeployed());
	}
Knows how to build a REST resource out of our domain model {@link JobInfo}.

@author Ilayaperumal Gopinathan
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/JobInfoResourceAssembler.java