Package com.atlassian.bamboo.testutils
Class ProcessDescriptor
- java.lang.Object
-
- com.atlassian.bamboo.testutils.ProcessDescriptor
-
public class ProcessDescriptor extends Object
-
-
Constructor Summary
Constructors Constructor Description ProcessDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OutputConsumerThreadgetErrConsumer()List<String>getErrorLog()intgetExitValue()protected OutputConsumerThreadgetOutConsumer()List<String>getOutputLog()ProcessgetProcess()protected ThreadgetShutdownHook()protected TimergetTimer()protected voidsetErrConsumerThread(OutputConsumerThread errConsumer)protected voidsetOutConsumerThread(OutputConsumerThread outConsumer)protected voidsetProcess(Process process)protected voidsetShutdownHook(Thread shutdownHook)protected voidsetTimer(Timer timer)
-
-
-
Method Detail
-
getProcess
public Process getProcess()
-
setProcess
protected void setProcess(Process process)
-
getExitValue
public int getExitValue()
-
getTimer
protected Timer getTimer()
-
setTimer
protected void setTimer(Timer timer)
-
getOutConsumer
protected OutputConsumerThread getOutConsumer()
-
setOutConsumerThread
protected void setOutConsumerThread(OutputConsumerThread outConsumer)
-
getErrConsumer
protected OutputConsumerThread getErrConsumer()
-
setErrConsumerThread
protected void setErrConsumerThread(OutputConsumerThread errConsumer)
-
getShutdownHook
protected Thread getShutdownHook()
-
setShutdownHook
protected void setShutdownHook(Thread shutdownHook)
-
-