Sebastian Menski
added a comment - Something like this?
List<Job> bachJobs = managementService.createJobQuery().batchId( "foo" ).list();
And should this include monitor and seed jobs?
Perhaps it is already sufficient to be able to query by job definition id. Then users have to "join" batch and jobs manually by first fetching the batch but with a batchId filter, you would have to know at least the batch id anyways.
Thorben Lindhauer
added a comment - Perhaps it is already sufficient to be able to query by job definition id. Then users have to "join" batch and jobs manually by first fetching the batch but with a batchId filter, you would have to know at least the batch id anyways.
Something like this?
List<Job> bachJobs = managementService.createJobQuery().batchId("foo").list();
And should this include monitor and seed jobs?