public class NoOpEnvironmentVariablesProvider extends Object implements EnvironmentVariablesProvider
EnvironmentVariablesProvider. It returns
an empty Map.| Constructor and Description |
|---|
NoOpEnvironmentVariablesProvider() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEnvironmentVariables(org.springframework.batch.item.ExecutionContext executionContext)
Provides a
Map of Strings to be used as environment variables. |
public Map<String,String> getEnvironmentVariables(org.springframework.batch.item.ExecutionContext executionContext)
EnvironmentVariablesProviderMap of 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.getEnvironmentVariables in interface EnvironmentVariablesProviderexecutionContext - the ExecutionContext associated with the worker's
stepMapCopyright © 2019 Pivotal Software, Inc.. All rights reserved.