Class RssDetectionFuture
java.lang.Object
com.atlassian.bamboo.configuration.external.detection.RssDetectionFuture
Future reference returned for Bamboo Specs detection. Yields true when the detection occurred and resulted in
Bamboo Specs being run. Throws
ExecutionException wrapped around an actual exception if one occurred.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
RssDetectionFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<Boolean>
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture<Boolean>- Throws:
InterruptedExceptionExecutionException
-
get
public Boolean get(long timeout, @NotNull @NotNull TimeUnit unit) throws InterruptedException, ExecutionException - Specified by:
getin interfaceFuture<Boolean>- Throws:
InterruptedExceptionExecutionException
-