public class SimpleProgramParameters
extends java.lang.Object
Constructor and Description |
---|
SimpleProgramParameters() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addEnv(java.lang.String name,
java.lang.String value) |
java.util.Map<java.lang.String,java.lang.String> |
getEnv() |
ParametersList |
getProgramParametersList() |
java.lang.String |
getWorkingDirectory() |
boolean |
isPassParentEnvs() |
void |
setEnv(java.util.Map<java.lang.String,java.lang.String> env) |
void |
setPassParentEnvs(boolean passDefaultEnvs) |
void |
setupEnvs(java.util.Map<java.lang.String,java.lang.String> envs,
boolean passDefault)
Deprecated.
Use
setEnv(Map) and setPassParentEnvs(boolean) instead with already preprocessed variables. |
void |
setWorkingDirectory(java.io.File path) |
void |
setWorkingDirectory(java.lang.String path) |
public java.lang.String getWorkingDirectory()
public void setWorkingDirectory(java.io.File path)
public void setWorkingDirectory(java.lang.String path)
public ParametersList getProgramParametersList()
public java.util.Map<java.lang.String,java.lang.String> getEnv()
public java.lang.String addEnv(java.lang.String name, java.lang.String value)
public void setEnv(java.util.Map<java.lang.String,java.lang.String> env)
public boolean isPassParentEnvs()
public void setPassParentEnvs(boolean passDefaultEnvs)
@Deprecated public void setupEnvs(java.util.Map<java.lang.String,java.lang.String> envs, boolean passDefault)
setEnv(Map)
and setPassParentEnvs(boolean)
instead with already preprocessed variables.