Class ProcessBuilderCallable.ProcessWrapper
java.lang.Object
de.uplanet.lucy.server.auxiliaries.ProcessBuilderCallable.ProcessWrapper
- Enclosing class:
 ProcessBuilderCallable
Note: this class is not thread-safe.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidenvironmentAdd(Map<String, String> p_env) intbooleanisError()booleanbooleanvoidsetEnvironment(Map<String, String> p_env) voidsetOutputStream(OutputStream p_out) voidsetOutputStream(Writer p_writer) voidsetRedirectErrorStream(boolean p_bRedirectErrorStream) voidsetStreamEncoding(String p_strStreamEncoding) voidsetWorkingDirectory(String p_strDir) voidstart()voidvoidvoidwaitFor() 
- 
Method Details
- 
getCommand
 - 
getCommandStr
 - 
getWorkingDirectory
 - 
setWorkingDirectory
 - 
getEnvironment
 - 
setEnvironment
 - 
environmentAdd
 - 
getExitCode
public int getExitCode() - 
isSuccess
public boolean isSuccess() - 
isError
public boolean isError() - 
getStreamEncoding
 - 
setStreamEncoding
 - 
isRedirectErrorStream
public boolean isRedirectErrorStream() - 
setRedirectErrorStream
public void setRedirectErrorStream(boolean p_bRedirectErrorStream)  - 
getStdOut
- Throws:
 UnsupportedEncodingException
 - 
getInputStream
- See Also:
 
 - 
getErrorStream
- See Also:
 
 - 
setOutputStream
 - 
setOutputStream
 - 
start
- Throws:
 IOException
 - 
startAndReadStdOut
- Throws:
 IOException
 - 
startAndWaitFor
- Throws:
 IOExceptionInterruptedException
 - 
waitFor
- Throws:
 InterruptedException
 
 -