@Override
	protected StepExecutionProgressInfoResource instantiateResource(StepExecutionProgressInfo entity) {
		return new StepExecutionProgressInfoResource(entity.getStepExecution(), entity.getStepExecutionHistory(),
				entity.getEstimatedPercentComplete(), entity.isFinished(), entity.getDuration());
	}
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