Interface EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor>
-
- Enclosing class:
- EngineDiscoveryRequestResolver<T extends TestDescriptor>
@API(status=EXPERIMENTAL, since="1.5") public static interface EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor>
The initialization context for creating resolvers and visitors that depend on theEngineDiscoveryRequestto be resolved or the engine descriptor that will be used to collect the results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Predicate<String>getClassNameFilter()Get the class name filter built from theClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved.EngineDiscoveryRequestgetDiscoveryRequest()Get theEngineDiscoveryRequestthat is about to be resolved.TgetEngineDescriptor()Get the engine'sTestDescriptorthat will be used to collect the results.
-
-
-
Method Detail
-
getDiscoveryRequest
EngineDiscoveryRequest getDiscoveryRequest()
Get theEngineDiscoveryRequestthat is about to be resolved.- Returns:
- the
EngineDiscoveryRequest; nevernull
-
getEngineDescriptor
T getEngineDescriptor()
Get the engine'sTestDescriptorthat will be used to collect the results.- Returns:
- engine's
TestDescriptor; nevernull
-
getClassNameFilter
Predicate<String> getClassNameFilter()
Get the class name filter built from theClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved.- Returns:
- the predicate for filtering the resolved class names; never
null
-
-