Package org.junit.platform.launcher.core
Class ListenerRegistry<T>
java.lang.Object
org.junit.platform.launcher.core.ListenerRegistry<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ListenerRegistry
(Function<List<T>, T> compositeListenerFactory) -
Method Summary
Modifier and TypeMethodDescription(package private) ListenerRegistry<T>
(package private) ListenerRegistry<T>
addAll
(Collection<? extends T> listeners) (package private) final ListenerRegistry<T>
(package private) static <T> ListenerRegistry<T>
copyOf
(ListenerRegistry<T> source) (package private) static <T> ListenerRegistry<T>
(package private) static ListenerRegistry<EngineExecutionListener>
(package private) static ListenerRegistry<LauncherDiscoveryListener>
(package private) static ListenerRegistry<LauncherSessionListener>
(package private) static ListenerRegistry<TestExecutionListener>
(package private) T
-
Field Details
-
compositeListenerFactory
-
listeners
-
-
Constructor Details
-
ListenerRegistry
-
-
Method Details
-
forLauncherSessionListeners
-
forLauncherDiscoveryListeners
-
forTestExecutionListeners
-
forEngineExecutionListeners
-
create
-
copyOf
-
add
-
addAll
-
addAll
-
getCompositeListener
T getCompositeListener() -
getListeners
-