spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Add a description for a step both with the XML and Java configuration styles

Open minkukjo opened this issue 6 months ago • 1 comments

Fixes: https://github.com/spring-projects/spring-batch/issues/4826

What is the problem

  • The Description of a Step of a Job declared in XML cannot be accessed through Java code.

What I Did

  • Provides an interface that allows access to the description field of a Step declared in XML from Java code.
  • Add a test to see if it can get the description field of a Step declared in XML.
  • Fix documentation for example

minkukjo avatar May 06 '25 15:05 minkukjo

Hi, @fmbenhassine

I hope you're doing well. I just wanted to kindly follow up on my PR it's been open for about a month, and I’d be happy to make any changes if needed.

Thank you for your time and for maintaining this great project!

Best regards,
Minkuk Jo

minkukjo avatar Jun 11 '25 13:06 minkukjo

Thank you for the PR, @minkukjo ! The change set in this PR seems to only add the description to the job , not the step. So I updated the title accordingly.

fmbenhassine avatar Oct 16 '25 13:10 fmbenhassine