Java org.apache.commons.exec DefaultExecuteResultHandler fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.exec DefaultExecuteResultHandler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.exec DefaultExecuteResultHandler.

The text is from its open source code.

Subclass

org.apache.commons.exec.DefaultExecuteResultHandler has subclasses.
Click this link to see all its subclasses.

Field

booleanhasResult
Keep track if the process is still running

Constructor

Method

ExecuteExceptiongetException()
Get the exception causing the process execution to fail.
intgetExitValue()
Get the exitValue of the process.
voidonProcessComplete(final int exitValue)
voidwaitFor()
Causes the current thread to wait, if necessary, until the process has terminated.
voidwaitFor(final long timeout)
Causes the current thread to wait, if necessary, until the process has terminated.