public class FetchTestListFuture extends Object implements Future<TestAutomationProjectContent>
| Constructor and Description |
|---|
FetchTestListFuture(FetchTestListTask task,
Future<TestAutomationProjectContent> wrappedFuture) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
TestAutomationProjectContent |
get() |
TestAutomationProjectContent |
get(long timeout,
TimeUnit unit) |
FetchTestListTask |
getTask() |
boolean |
isCancelled() |
boolean |
isDone() |
public FetchTestListFuture(FetchTestListTask task, Future<TestAutomationProjectContent> wrappedFuture)
public FetchTestListTask getTask()
public boolean cancel(boolean mayInterruptIfRunning)
cancel in interface Future<TestAutomationProjectContent>public TestAutomationProjectContent get() throws InterruptedException, ExecutionException
get in interface Future<TestAutomationProjectContent>InterruptedExceptionExecutionExceptionpublic TestAutomationProjectContent get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<TestAutomationProjectContent>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic boolean isCancelled()
isCancelled in interface Future<TestAutomationProjectContent>public boolean isDone()
isDone in interface Future<TestAutomationProjectContent>Copyright © 2010–2017 Henix, henix.fr. All rights reserved.