diff --git a/execution/src/main/java/org/springframework/batch/execution/bootstrap/support/ExportedJobLauncher.java b/execution/src/main/java/org/springframework/batch/execution/bootstrap/support/ExportedJobLauncher.java index d10d77c14..1f63fbb14 100644 --- a/execution/src/main/java/org/springframework/batch/execution/bootstrap/support/ExportedJobLauncher.java +++ b/execution/src/main/java/org/springframework/batch/execution/bootstrap/support/ExportedJobLauncher.java @@ -16,6 +16,8 @@ package org.springframework.batch.execution.bootstrap.support; +import java.util.Properties; + import org.springframework.batch.execution.launch.JobLauncher; import org.springframework.batch.repeat.ExitStatus; @@ -67,5 +69,12 @@ public interface ExportedJobLauncher { * @see JobLauncher#isRunning() */ boolean isRunning(); + + /** + * Query statistics of currently executing jobs. + * + * @return properties representing last known state of currently executing jobs + */ + public Properties getStatistics(); }