Package org.springframework.batch.repeat.policy

Examples of org.springframework.batch.repeat.policy.DefaultResultCompletionPolicy


  public void testStepToCompletion() throws Exception {

    RepeatTemplate template = new RepeatTemplate();

    // process all items:
    template.setCompletionPolicy(new DefaultResultCompletionPolicy());
    step.setStepOperations(template);

    JobExecution jobExecutionContext = new JobExecution(jobInstance, jobParameters);
    StepExecution stepExecution = new StepExecution(step.getName(), jobExecutionContext);
View Full Code Here

TOP

Related Classes of org.springframework.batch.repeat.policy.DefaultResultCompletionPolicy

Copyright © 2018 www.massapicom. 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.