public class PassThroughCommandLineArgsProvider extends Object implements CommandLineArgsProvider
List<String> provided.| Constructor and Description |
|---|
PassThroughCommandLineArgsProvider(List<String> commandLineArgs) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCommandLineArgs(org.springframework.batch.item.ExecutionContext executionContext)
Returns a unique list of command line arguements to be passed to the partition's
worker for the specified
ExecutionContext. |
public List<String> getCommandLineArgs(org.springframework.batch.item.ExecutionContext executionContext)
CommandLineArgsProviderExecutionContext.
Note: This method is called once per partition.getCommandLineArgs in interface CommandLineArgsProviderexecutionContext - the unique state for the step to be executed.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.