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 theEngineDiscoveryRequest
to 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 theClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved.EngineDiscoveryRequest
getDiscoveryRequest()
Get theEngineDiscoveryRequest
that is about to be resolved.T
getEngineDescriptor()
Get the engine'sTestDescriptor
that will be used to collect the results.
-
-
-
Method Detail
-
getDiscoveryRequest
EngineDiscoveryRequest getDiscoveryRequest()
Get theEngineDiscoveryRequest
that is about to be resolved.- Returns:
- the
EngineDiscoveryRequest
; nevernull
-
getEngineDescriptor
T getEngineDescriptor()
Get the engine'sTestDescriptor
that will be used to collect the results.- Returns:
- engine's
TestDescriptor
; nevernull
-
getClassNameFilter
Predicate<String> getClassNameFilter()
Get the class name filter built from theClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved.- Returns:
- the predicate for filtering the resolved class names; never
null
-
-