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 Type
    Method
    Description
    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.
  • Method Details

    • getCommandLineArgs

      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. 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).