Interface CommandLineArgsProvider
- All Known Implementing Classes:
PassThroughCommandLineArgsProvider
,SimpleCommandLineArgsProvider
public interface CommandLineArgsProvider
Strategy to allow for the customization of command line arguments passed to each
partition's execution.
- Since:
- 1.1.0
- Author:
- Michael Minella
-
Method Summary
Modifier and TypeMethodDescriptiongetCommandLineArgs
(org.springframework.batch.item.ExecutionContext executionContext) Returns a unique list of command line arguements to be passed to the partition's worker for the specifiedExecutionContext
.
-
Method Details
-
getCommandLineArgs
Returns a unique list of command line arguements to be passed to the partition's worker for the specifiedExecutionContext
. Note: This method is called once per partition.- Parameters:
executionContext
- the unique state for the step to be executed.- Returns:
- a list of formatted command line arguments to be passed to the worker (the list will be joined via spaces).
-