From e83fe1c467a3dfd674f6cfef1ec32f806fe4aebe Mon Sep 17 00:00:00 2001 From: MinJun Kweon Date: Fri, 10 Jul 2020 22:01:44 +0900 Subject: [PATCH] Add getChunkSize in SimpleCompletionPolicy resolved #3738 --- .../batch/repeat/policy/SimpleCompletionPolicy.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java index 15b1ca3bfd..8e30ccfb43 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java @@ -51,6 +51,10 @@ public void setChunkSize(int chunkSize) { this.chunkSize = chunkSize; } + public int getChunkSize() { + return chunkSize; + } + /** * Reset the counter. *