Interface EnvironmentVariablesProvider
- All Known Implementing Classes:
 NoOpEnvironmentVariablesProvider,SimpleEnvironmentVariablesProvider
public interface EnvironmentVariablesProvider
Strategy interface to allow for advanced configuration of environment variables for
 each worker in a partitioned job.
- Since:
 - 1.0.2
 - Author:
 - Michael Minella
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetEnvironmentVariables(org.springframework.batch.item.ExecutionContext executionContext) Provides aMapof Strings to be used as environment variables. 
- 
Method Details
- 
getEnvironmentVariables
Map<String,String> getEnvironmentVariables(org.springframework.batch.item.ExecutionContext executionContext) Provides aMapof Strings to be used as environment variables. This method will be called for each worker step. For example, if there are 5 partitions, this method will be called 5 times.- Parameters:
 executionContext- theExecutionContextassociated with the worker's step- Returns:
 - A 
Mapof values to be used as environment variables 
 
 -