public class EnvironmentVariablesData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EnvironmentVariablesData |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
configureCommandLine(GeneralCommandLine commandLine,
boolean consoleParentEnvs) |
static EnvironmentVariablesData |
create(java.util.Map<java.lang.String,java.lang.String> envs,
boolean passParentEnvs) |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getEnvs() |
int |
hashCode() |
boolean |
isPassParentEnvs() |
static EnvironmentVariablesData |
readExternal(Element element) |
java.lang.String |
toString() |
void |
writeExternal(Element parent) |
public static final EnvironmentVariablesData DEFAULT
public java.util.Map<java.lang.String,java.lang.String> getEnvs()
public boolean isPassParentEnvs()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static EnvironmentVariablesData readExternal(Element element)
public void writeExternal(Element parent)
public void configureCommandLine(GeneralCommandLine commandLine, boolean consoleParentEnvs)
public static EnvironmentVariablesData create(java.util.Map<java.lang.String,java.lang.String> envs, boolean passParentEnvs)
envs
- Map instance containing user-defined environment variables
(iteration order should be reliable user-specified, like LinkedHashMap
or ImmutableMap
)passParentEnvs
- true if system environment should be passed