Skip to content

Commit 8847719

Browse files
committed
BATCH-2194: Reference documentation for Spring Batch's JSR-352 implementation
1 parent 65f37c1 commit 8847719

File tree

2 files changed

+448
-348
lines changed

2 files changed

+448
-348
lines changed

spring-batch-core/src/test/java/org/springframework/batch/core/jsr/JsrTestUtils.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@
1515
*/
1616
package org.springframework.batch.core.jsr;
1717

18-
import java.util.Date;
19-
import java.util.Properties;
20-
import java.util.concurrent.TimeoutException;
21-
2218
import javax.batch.operations.JobOperator;
2319
import javax.batch.runtime.BatchRuntime;
2420
import javax.batch.runtime.BatchStatus;
2521
import javax.batch.runtime.JobExecution;
22+
import java.util.Date;
23+
import java.util.Properties;
24+
import java.util.concurrent.TimeoutException;
2625

26+
/**
27+
* Provides testing utilities to execute JSR-352 jobs and block until they are complete (since all JSR-352 based jobs
28+
* are executed asynchronously).
29+
*
30+
* @author Michael Minella
31+
* @since 3.0
32+
*/
2733
public class JsrTestUtils {
2834

2935
private static JobOperator operator;

0 commit comments

Comments
 (0)