@Override
	public DetailedJobInfoResource toResource(DetailedJobInfo entity) {
		return createResourceWithId(entity.getName(), entity);
	}
Knows how to build a REST resource out of our domain model {@link DetailedJobInfo}.

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