Uses of Class
org.zeroturnaround.exec.ProcessResult
-
Packages that use ProcessResult Package Description org.zeroturnaround.exec org.zeroturnaround.exec.listener -
-
Uses of ProcessResult in org.zeroturnaround.exec
Fields in org.zeroturnaround.exec declared as ProcessResult Modifier and Type Field Description private ProcessResult
InvalidResultException. result
Actual exit value and process output.Fields in org.zeroturnaround.exec with type parameters of type ProcessResult Modifier and Type Field Description private java.util.concurrent.Future<ProcessResult>
StartedProcess. future
The asynchronous result of the started process.Methods in org.zeroturnaround.exec that return ProcessResult Modifier and Type Method Description ProcessResult
WaitForProcess. call()
ProcessResult
ProcessExecutor. execute()
Executes the sub process.ProcessResult
ProcessExecutor. executeNoTimeout()
Executes the sub process.ProcessResult
InvalidResultException. getResult()
ProcessResult
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 ProcessResult Modifier and Type Method Description java.util.concurrent.Future<ProcessResult>
StartedProcess. future()
Deprecated.useStartedProcess.getFuture()
instead.java.util.concurrent.Future<ProcessResult>
StartedProcess. getFuture()
Methods in org.zeroturnaround.exec with parameters of type ProcessResult Modifier and Type Method Description static 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 ProcessResult Constructor Description InvalidExitValueException(java.lang.String message, ProcessResult result)
InvalidOutputException(java.lang.String message, ProcessResult result)
InvalidResultException(java.lang.String message, ProcessResult result)
Constructor parameters in org.zeroturnaround.exec with type arguments of type ProcessResult Constructor Description StartedProcess(java.lang.Process process, java.util.concurrent.Future<ProcessResult> future)
-
Uses of ProcessResult in org.zeroturnaround.exec.listener
Methods in org.zeroturnaround.exec.listener with parameters of type ProcessResult Modifier and Type Method Description void
CompositeProcessListener. afterFinish(java.lang.Process process, ProcessResult result)
void
ProcessListener. afterFinish(java.lang.Process process, ProcessResult result)
Invoked after a process has finished successfully.
-