List of usage examples for org.springframework.batch.repeat RepeatContext isCompleteOnly
boolean isCompleteOnly();
From source file:org.springframework.batch.repeat.support.RepeatTemplate.java
private boolean isMarkedComplete(RepeatContext context) { boolean complete = context.isCompleteOnly(); if (context.getParent() != null) { complete = complete || isMarkedComplete(context.getParent()); }/*from ww w .ja v a 2 s. c o m*/ if (complete) { logger.debug("Repeat is complete according to context alone."); } return complete; }