@Override
	protected JobInstanceInfoResource instantiateResource(JobInstanceInfo entity) {
		return new JobInstanceInfoResource(entity.getJobInstance(),
				jobExecutionInfoResourceAssembler.toResources(entity.getJobExecutions()));
	}
Resource assembler that builds the REST resource {@link JobInstanceInfoResource} out of domain model
{@link JobInstanceInfo}.

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