Examples of StepExecutionProgress


Examples of org.springframework.batch.admin.web.StepExecutionProgress

        TimeZone.getTimeZone("GMT")));
    StepExecutionHistory stepExecutionHistory = new StepExecutionHistory(
        "step");
    stepExecutionHistory.append(oldStepExecution);
    model.put("stepExecutionHistory", stepExecutionHistory);
    model.put("stepExecutionProgress", new StepExecutionProgress(
        stepExecution, stepExecutionHistory));
    progress.render(model, request, response);
    String content = response.getContentAsString();
    // System.err.println(content);
    assertTrue("Wrong content: "+content, content.contains("This execution is estimated to be 50% complete"));
View Full Code Here

Examples of org.springframework.batch.admin.web.StepExecutionProgress

    StepExecution stepExecution = MetaDataInstanceFactory
        .createStepExecution();
    stepExecution.setEndTime(new Date());
    StepExecutionHistory history = new StepExecutionHistory("step");
    // history.append(stepExecution);
    progress = new StepExecutionProgress(MetaDataInstanceFactory
        .createStepExecution(), history);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.