@Override
	public StepExecutionProgressInfoResource toResource(StepExecutionProgressInfo entity) {
		return createResourceWithId(entity.getStepExecutionId(), entity, entity.getStepExecution().getJobExecutionId());
	}
Knows how to build a REST resource out of our domain model {@link StepExecutionProgressInfo}.

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