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

Should JobOperator#getJobInstances() be allowed to throw NoSuchJobInstanceException if start is too high? #155

Open follis opened 3 years ago

follis commented 3 years ago

The JobOperator getJobInstances returns job instances matching a particular job name. Jobs with that name are presumed to be stored in chronological order (presumably based on when they started?) and you can fetch a range from that list providing a starting point and a length. The point of this item is to indicate what exception will be thrown if the starting point is off the end of the list.