Class GeneralCommandLine
- java.lang.Object
-
- com.intellij.execution.configurations.GeneralCommandLine
-
public class GeneralCommandLine extends Object
-
-
Constructor Summary
Constructors Constructor Description GeneralCommandLine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String parameter)voidaddParameters(String... parameters)voidaddParameters(List<String> parameters)GeneralCommandLineclone()ProcesscreateProcess()CharsetgetCharset()StringgetCommandLineParams()StringgetCommandLineString()String[]getCommands()Map<String,String>getEnvParams()StringgetExePath()ParametersListgetParametersList()FilegetWorkDirectory()static Stringquote(String parameter)voidsetCharset(Charset charset)voidsetEnvParams(Map<String,String> envParams)voidsetExePath(String exePath)voidsetPassParentEnvs(boolean passParentEnvs)voidsetWorkDirectory(String path)voidsetWorkingDirectory(File workingDirectory)StringtoString()
-
-
-
Method Detail
-
setExePath
public void setExePath(@NonNls String exePath)
-
getExePath
public String getExePath()
-
setWorkDirectory
public void setWorkDirectory(@NonNls String path)
-
setWorkingDirectory
public void setWorkingDirectory(File workingDirectory)
-
getWorkDirectory
public File getWorkDirectory()
-
setCharset
public void setCharset(@NotNull Charset charset)
-
addParameters
public void addParameters(String... parameters)
-
addParameter
public void addParameter(@NotNull @NonNls String parameter)
-
getCommandLineString
public String getCommandLineString()
-
getCommandLineParams
public String getCommandLineParams()
-
getCharset
public Charset getCharset()
-
createProcess
public Process createProcess() throws ExecutionException
- Throws:
ExecutionException
-
getCommands
public String[] getCommands()
-
getParametersList
public ParametersList getParametersList()
-
clone
public GeneralCommandLine clone()
-
setPassParentEnvs
public void setPassParentEnvs(boolean passParentEnvs)
-
-