@InterfaceAudience.Private public class EnvironmentUpdateUtils extends Object
| Constructor and Description |
|---|
EnvironmentUpdateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
put(String key,
String value)
Allows dynamic update to the environment variables.
|
static void |
putAll(Map<String,String> additionalEnvironment)
Allows dynamic update to a collection of environment variables.
|
public static void put(String key, String value)
key - System environment variablevalue - Value to assign to system environment variablepublic static void putAll(Map<String,String> additionalEnvironment)
additionalEnvironment - Collection where the key is the System
environment variable and the value is the value to assign the system
environment variableCopyright © 2019 Apache Software Foundation. All rights reserved.