public class CapturingProcessRunner
extends java.lang.Object
Constructor and Description |
---|
CapturingProcessRunner(BaseProcessHandler processHandler) |
CapturingProcessRunner(BaseProcessHandler processHandler,
java.util.function.Function<? super ProcessOutput,? extends ProcessAdapter> processAdapterProducer) |
Modifier and Type | Method and Description |
---|---|
ProcessOutput |
runProcess() |
ProcessOutput |
runProcess(int timeoutInMilliseconds) |
ProcessOutput |
runProcess(int timeoutInMilliseconds,
boolean destroyOnTimeout) |
ProcessOutput |
runProcess(ProgressIndicator indicator) |
ProcessOutput |
runProcess(ProgressIndicator indicator,
int timeoutInMilliseconds) |
ProcessOutput |
runProcess(ProgressIndicator indicator,
int timeoutInMilliseconds,
boolean destroyOnTimeout) |
public CapturingProcessRunner(BaseProcessHandler processHandler)
public CapturingProcessRunner(BaseProcessHandler processHandler, java.util.function.Function<? super ProcessOutput,? extends ProcessAdapter> processAdapterProducer)
public ProcessOutput runProcess()
public ProcessOutput runProcess(int timeoutInMilliseconds)
public ProcessOutput runProcess(int timeoutInMilliseconds, boolean destroyOnTimeout)
public ProcessOutput runProcess(ProgressIndicator indicator)
public ProcessOutput runProcess(ProgressIndicator indicator, int timeoutInMilliseconds)
public ProcessOutput runProcess(ProgressIndicator indicator, int timeoutInMilliseconds, boolean destroyOnTimeout)