| Constructor and Description |
|---|
ProcessFutureWrapper(org.zeroturnaround.exec.StartedProcess processFuture) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
Boolean |
get() |
Boolean |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public ProcessFutureWrapper(org.zeroturnaround.exec.StartedProcess processFuture)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Boolean>public Boolean get() throws InterruptedException, ExecutionException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionpublic Boolean get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2013–2016. All rights reserved.