public class TargetedCommandLineBuilder extends UserDataHolderBase
Constructor and Description |
---|
TargetedCommandLineBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addEnvironmentVariable(java.lang.String name,
java.lang.String value) |
void |
addEnvironmentVariable(java.lang.String name,
TargetValue<java.lang.String> value) |
void |
addFileToDeleteOnTermination(java.io.File file) |
void |
addParameter(java.lang.String parameter) |
void |
addParameter(TargetValue<java.lang.String> parameter) |
void |
addParameters(java.util.List<java.lang.String> parametersList) |
TargetedCommandLine |
build() |
java.util.Set<java.io.File> |
getFilesToDeleteOnTermination() |
void |
setCharset(java.nio.charset.Charset charset) |
void |
setExePath(java.lang.String exePath) |
void |
setExePath(TargetValue<java.lang.String> exePath) |
void |
setInputFile(TargetValue<java.lang.String> inputFilePath) |
void |
setWorkingDirectory(TargetValue<java.lang.String> workingDirectory) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public TargetedCommandLine build()
public void setCharset(java.nio.charset.Charset charset)
public void setExePath(TargetValue<java.lang.String> exePath)
public void setExePath(java.lang.String exePath)
public void setWorkingDirectory(TargetValue<java.lang.String> workingDirectory)
public void addParameter(TargetValue<java.lang.String> parameter)
public void addParameter(java.lang.String parameter)
public void addParameters(java.util.List<java.lang.String> parametersList)
public void addEnvironmentVariable(java.lang.String name, TargetValue<java.lang.String> value)
public void addEnvironmentVariable(java.lang.String name, java.lang.String value)
public void addFileToDeleteOnTermination(java.io.File file)
public void setInputFile(TargetValue<java.lang.String> inputFilePath)
public java.util.Set<java.io.File> getFilesToDeleteOnTermination()