jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

A standard isEnded boolean on JobExecution/StepExecution encompassing all the terminated states #156

Open follis opened 3 years ago

follis commented 3 years ago

Users of JobOperator get back JobExecution objects and can get the Batch Status and compare to a list of values that mean 'ended'. Or you can check the EndedTime and if that is set then it ended. An isEnded method might be handy. Similarly for StepExecution.