Project: springxd
Issue XD-3717: Improvement to SpringXDTemplate to enable getting executions for a specific job
I would like to be able to use the SpringXDTemplate to find all executions for a specific job Currently I use xdTemplate.jobOperations().listJobExecutions() then loop through all executions filtering the ones for the job I'm interested in. It would be nice if JobOperations had something like this {code:java} /** * List all Job Executions. * @param jobInstanceId The instance of the job to get all executions for. */ public PagedResources listJobExecutions(long jobInstanceId); {code}
Story points: 5