Class SingleEventLogger<E>
- java.lang.Object
-
- com.atlassian.bamboo.testutils.event.SingleEventLogger<E>
-
- Direct Known Subclasses:
PlanResource.BackgroundDeletionCompletedEventLogger
public abstract class SingleEventLogger<E> extends Object
-
-
Constructor Summary
Constructors Constructor Description SingleEventLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description E
getEvent(long timeout, TimeUnit unit)
Deprecated.since 5.15, usegetEvent(Duration)
E
getEvent(Duration timeout)
Future<E>
getEventFuture()
protected void
internalOnEvent(E event)
Due to limitations of event framework generic methods do not work well so we can't annotate it with @EventListener
-
-
-
Method Detail
-
internalOnEvent
protected void internalOnEvent(E event)
Due to limitations of event framework generic methods do not work well so we can't annotate it with @EventListener
-
getEvent
@Deprecated public E getEvent(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
Deprecated.since 5.15, usegetEvent(Duration)
-
getEvent
public E getEvent(Duration timeout) throws InterruptedException, ExecutionException, TimeoutException
-
-