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 ProcessResultInvalidResultException. resultActual 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. futureThe asynchronous result of the started process.Methods in org.zeroturnaround.exec that return ProcessResult Modifier and Type Method Description ProcessResultWaitForProcess. call()ProcessResultProcessExecutor. execute()Executes the sub process.ProcessResultProcessExecutor. executeNoTimeout()Executes the sub process.ProcessResultInvalidResultException. getResult()ProcessResultInvalidResultException. result()Deprecated.private ProcessResultProcessExecutor. 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 voidInvalidExitUtil. checkExit(ProcessAttributes attributes, ProcessResult result)Check the process exit value.voidProcessExecutor. 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 voidCompositeProcessListener. afterFinish(java.lang.Process process, ProcessResult result)voidProcessListener. afterFinish(java.lang.Process process, ProcessResult result)Invoked after a process has finished successfully.
-