Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use ExitStatus as parameter for Flowbuilder.on() method #5306

Open
Open
Use ExitStatus as parameter for Flowbuilder.on() method#5306

Description

Hello,

Expected Behavior

In this code

new JobBuilder("MY_JOB_NAME", jobRepository)
...
.on(ExitStatus.COMPLETED.getExitCode()).to(myNextStep)
...
.build();

add the possibility to use directly a ExitStatus type, to have:

new JobBuilder("MY_JOB_NAME", jobRepository)
...
.on(ExitStatus.COMPLETED).to(myNextStep)
...
.build();

Context

This is just a simply to use this Spring Batch class in a way that is consistent with the class Flowbuilder.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions