private double getDurationBasedEstimate(double duration) {

		CumulativeHistory durationHistory = stepExecutionHistory.getDuration();
		if (durationHistory.getMean() == 0) {
			percentCompleteBasis = PercentCompleteBasis.NOINFORMATION;
			return 0.5;
		}
		return duration / durationHistory.getMean();

	}
Represents Batch job step execution progress info.

@author Dave Syer
@author Ilayaperumal Gopinathan
@author Gary Russell
@since 1.0
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/StepExecutionProgressInfo.java