Package tv.hd3g.processlauncher
Class ExecutableToolRunning
- java.lang.Object
-
- tv.hd3g.processlauncher.ExecutableToolRunning
-
public class ExecutableToolRunning extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapturedStdOutErrTextRetentioncheckExecutionGetText()Can throw an InvalidExecution, with stderr embedded.ProcesslauncherLifecyclegetLifecyle()CapturedStdOutErrTextRetentiongetTextRetention()ExecutableToolRunningwaitForEnd()Don't checks end status (ok/error).ExecutableToolRunningwaitForEndAndCheckExecution()Merge waitForEnd and checkExecutionGetText behaviors
-
-
-
Method Detail
-
getTextRetention
public CapturedStdOutErrTextRetention getTextRetention()
-
getLifecyle
public ProcesslauncherLifecycle getLifecyle()
-
checkExecutionGetText
public CapturedStdOutErrTextRetention checkExecutionGetText()
Can throw an InvalidExecution, with stderr embedded. Blocking call (with CapturedStdOutErrTextRetention::waitForClosedStream)
-
waitForEnd
public ExecutableToolRunning waitForEnd()
Don't checks end status (ok/error).- Returns:
- this
-
waitForEndAndCheckExecution
public ExecutableToolRunning waitForEndAndCheckExecution()
Merge waitForEnd and checkExecutionGetText behaviors
-
-