Top Fields Constructors Methods
org.junit.platform.launcher.core

pack-priv Class DelegatingLauncherDiscoveryRequest

extends Object
implements LauncherDiscoveryRequest
Class Inheritance
All Implemented Interfaces
org.junit.platform.launcher.LauncherDiscoveryRequest, org.junit.platform.engine.EngineDiscoveryRequest
Imports
java.util.List, org.junit.platform.engine.ConfigurationParameters, .DiscoveryFilter, .DiscoverySelector, .OutputDirectoryCreator, org.junit.platform.launcher.EngineFilter, .LauncherDiscoveryListener, .LauncherDiscoveryRequest, .PostDiscoveryFilter

Since
1.13

Field Summary

Modifier and TypeField and Description
private final LauncherDiscoveryRequest

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ConfigurationParameters
public LauncherDiscoveryListener
public List<EngineFilter>
public <T extends DiscoveryFilter<?>> List<T>
getFiltersByType(Class<T> filterType)

Implements org.junit.platform.engine.EngineDiscoveryRequest.getFiltersByType.

Get the DiscoveryFilters for this request, filtered by a particular type.

public OutputDirectoryCreator
public OutputDirectoryProvider
getOutputDirectoryProvider()

Overrides default org.junit.platform.engine.EngineDiscoveryRequest.getOutputDirectoryProvider.

References Deprecated OutputDirectoryProvider is deprecated or references (maybe indirectly) at least one deprecated element.

Get the org.junit.platform.engine.reporting.OutputDirectoryProvider for this request.

public List<PostDiscoveryFilter>
public <T extends DiscoverySelector> List<T>
getSelectorsByType(Class<T> selectorType)

Implements org.junit.platform.engine.EngineDiscoveryRequest.getSelectorsByType.

Get the DiscoverySelectors for this request, filtered by a particular type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

requestback to summary
private final LauncherDiscoveryRequest request

Constructor Detail

DelegatingLauncherDiscoveryRequestback to summary
pack-priv DelegatingLauncherDiscoveryRequest(LauncherDiscoveryRequest request)

Method Detail

getConfigurationParametersback to summary
public ConfigurationParameters getConfigurationParameters()

Implements org.junit.platform.engine.EngineDiscoveryRequest.getConfigurationParameters.

Doc from org.junit.platform.engine.EngineDiscoveryRequest.getConfigurationParameters.

Get the ConfigurationParameters for this request.

Annotations
@Override
getDiscoveryListenerback to summary
public LauncherDiscoveryListener getDiscoveryListener()

Overrides default org.junit.platform.launcher.LauncherDiscoveryRequest.getDiscoveryListener.

Doc from org.junit.platform.launcher.LauncherDiscoveryRequest.getDiscoveryListener.

Get the LauncherDiscoveryListener for this request.

The default implementation returns a no-op listener that ignores all calls so that engines that call this methods can be used with an earlier version of the JUnit Platform that did not yet include it.

Annotations
@Override
getEngineFiltersback to summary
public List<EngineFilter> getEngineFilters()

Implements org.junit.platform.launcher.LauncherDiscoveryRequest.getEngineFilters.

Doc from org.junit.platform.launcher.LauncherDiscoveryRequest.getEngineFilters.

Get the EngineFilters for this request.

The returned filters are to be combined using AND semantics, i.e. all of them have to include an engine for it to contribute to the test plan.

Annotations
@Override
getFiltersByTypeback to summary
public <T extends DiscoveryFilter<?>> List<T> getFiltersByType(Class<T> filterType)

Implements org.junit.platform.engine.EngineDiscoveryRequest.getFiltersByType.

Doc from org.junit.platform.engine.EngineDiscoveryRequest.getFiltersByType.

Get the DiscoveryFilters for this request, filtered by a particular type.

The returned filters are to be combined using AND semantics, i.e. all of them have to include a resource for it to end up in the test plan.

Annotations
@Override
getOutputDirectoryCreatorback to summary
public OutputDirectoryCreator getOutputDirectoryCreator()

Overrides default org.junit.platform.engine.EngineDiscoveryRequest.getOutputDirectoryCreator.

Doc from org.junit.platform.engine.EngineDiscoveryRequest.getOutputDirectoryCreator.

Get the OutputDirectoryCreator for this request.

Annotations
@Override
getOutputDirectoryProviderback to summary
public OutputDirectoryProvider getOutputDirectoryProvider()

Overrides default org.junit.platform.engine.EngineDiscoveryRequest.getOutputDirectoryProvider.

Doc from org.junit.platform.engine.EngineDiscoveryRequest.getOutputDirectoryProvider.

References Deprecated

OutputDirectoryProvider is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Get the org.junit.platform.engine.reporting.OutputDirectoryProvider for this request.

Annotations
@SuppressWarnings:removal
@Override
getPostDiscoveryFiltersback to summary
public List<PostDiscoveryFilter> getPostDiscoveryFilters()

Implements org.junit.platform.launcher.LauncherDiscoveryRequest.getPostDiscoveryFilters.

Doc from org.junit.platform.launcher.LauncherDiscoveryRequest.getPostDiscoveryFilters.

Get the PostDiscoveryFilters for this request.

The returned filters are to be combined using AND semantics, i.e. all of them have to include a TestDescriptor for it to end up in the test plan.

Annotations
@Override
getSelectorsByTypeback to summary
public <T extends DiscoverySelector> List<T> getSelectorsByType(Class<T> selectorType)

Implements org.junit.platform.engine.EngineDiscoveryRequest.getSelectorsByType.

Doc from org.junit.platform.engine.EngineDiscoveryRequest.getSelectorsByType.

Get the DiscoverySelectors for this request, filtered by a particular type.

Annotations
@Override