Skip to content

Add getUniqueJobParametersBuilder() method in JobLauncherTestUtils #767

Closed
@spring-projects-issues

Description

@spring-projects-issues

jojoldu opened BATCH-2847 and commented

JobLauncherTestUtils often uses the getUniqueJobParameters method.
But it seems a bit cumbersome to use this method with other JobParameters.
In the same case, I use it like this:

new JobParametersBuilder(jobLauncherTestUtils.getUniqueJobParameters())
.addString()
.addDouble()

I want to make this convenient.

jobLauncherTestUtils.getUniqueJobParametersBuilder()
.addString()
.addDouble()

What do you think?


Affects: 4.2.0

Referenced from: pull request #734

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions