Uses of Class
org.zeroturnaround.exec.ProcessResult
Packages that use ProcessResult
-
Uses of ProcessResult in org.zeroturnaround.exec
Fields in org.zeroturnaround.exec declared as ProcessResultModifier and TypeFieldDescriptionprivate final ProcessResult
InvalidResultException.result
Actual exit value and process output.Fields in org.zeroturnaround.exec with type parameters of type ProcessResultModifier and TypeFieldDescriptionprivate final Future
<ProcessResult> StartedProcess.future
The asynchronous result of the started process.Methods in org.zeroturnaround.exec that return ProcessResultModifier and TypeMethodDescriptionWaitForProcess.call()
ProcessExecutor.execute()
Executes the sub process.ProcessExecutor.executeNoTimeout()
Executes the sub process.InvalidResultException.getResult()
InvalidResultException.result()
Deprecated.private ProcessResult
ProcessExecutor.waitFor
(WaitForProcess task) Wait until the process stops, a timeout occurs and the caller thread gets interrupted.Methods in org.zeroturnaround.exec that return types with arguments of type ProcessResultModifier and TypeMethodDescriptionStartedProcess.future()
Deprecated.useStartedProcess.getFuture()
instead.StartedProcess.getFuture()
Methods in org.zeroturnaround.exec with parameters of type ProcessResultModifier and TypeMethodDescriptionstatic void
InvalidExitUtil.checkExit
(ProcessAttributes attributes, ProcessResult result) Check the process exit value.void
ProcessExecutor.checkExitValue
(ProcessResult result) Check the exit value of given process result.Constructors in org.zeroturnaround.exec with parameters of type ProcessResultModifierConstructorDescriptionInvalidExitValueException
(String message, ProcessResult result) InvalidOutputException
(String message, ProcessResult result) InvalidResultException
(String message, ProcessResult result) Constructor parameters in org.zeroturnaround.exec with type arguments of type ProcessResult -
Uses of ProcessResult in org.zeroturnaround.exec.listener
Methods in org.zeroturnaround.exec.listener with parameters of type ProcessResultModifier and TypeMethodDescriptionvoid
CompositeProcessListener.afterFinish
(Process process, ProcessResult result) void
ProcessListener.afterFinish
(Process process, ProcessResult result) Invoked after a process has finished successfully.
InvalidResultException.getResult()