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

Relax schema for skippable/retryable include/exclude to allow mixing orders of include and exclude elements. #159

Open follis opened 3 years ago

follis commented 3 years ago

Skippable exceptions and Retryable exceptions are specified in their own separate blocks. You can include and exclude classes within those blocks. One block is processed first (I forget which), but it might be nice to be able to intermix the two. The order of the include/exclude within the block matters, so you might want to do some complex mesh of includes and excludes that are blend of skippable and retryable exceptions. There's no way to do this with the current syntax.