org.squashtest.tm.service.internal.testautomation.thread
Class FetchTestListFuture

java.lang.Object
  extended by org.squashtest.tm.service.internal.testautomation.thread.FetchTestListFuture
All Implemented Interfaces:
Future<TestAutomationProjectContent>

public class FetchTestListFuture
extends Object
implements Future<TestAutomationProjectContent>


Constructor Summary
FetchTestListFuture(FetchTestListTask task, Future<TestAutomationProjectContent> wrappedFuture)
           
 
Method Summary
 boolean cancel(boolean mayInterruptIfRunning)
           
 TestAutomationProjectContent get()
           
 TestAutomationProjectContent get(long timeout, TimeUnit unit)
           
 FetchTestListTask getTask()
           
 boolean isCancelled()
           
 boolean isDone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchTestListFuture

public FetchTestListFuture(FetchTestListTask task,
                           Future<TestAutomationProjectContent> wrappedFuture)
Method Detail

getTask

public FetchTestListTask getTask()

cancel

public boolean cancel(boolean mayInterruptIfRunning)
Specified by:
cancel in interface Future<TestAutomationProjectContent>

get

public TestAutomationProjectContent get()
                                 throws InterruptedException,
                                        ExecutionException
Specified by:
get in interface Future<TestAutomationProjectContent>
Throws:
InterruptedException
ExecutionException

get

public TestAutomationProjectContent get(long timeout,
                                        TimeUnit unit)
                                 throws InterruptedException,
                                        ExecutionException,
                                        TimeoutException
Specified by:
get in interface Future<TestAutomationProjectContent>
Throws:
InterruptedException
ExecutionException
TimeoutException

isCancelled

public boolean isCancelled()
Specified by:
isCancelled in interface Future<TestAutomationProjectContent>

isDone

public boolean isDone()
Specified by:
isDone in interface Future<TestAutomationProjectContent>


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.