Interface LauncherDiscoveryRequest

    • Method Detail

      • getEngineFilters

        List<EngineFilter> 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.

        Returns:
        the list of EngineFilters for this request; never null but potentially empty
      • getPostDiscoveryFilters

        List<PostDiscoveryFilter> 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.

        Returns:
        the list of PostDiscoveryFilters for this request; never null but potentially empty
      • getDiscoveryListener

        @API(status=EXPERIMENTAL,
             since="1.6")
        default LauncherDiscoveryListener 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.

        Specified by:
        getDiscoveryListener in interface EngineDiscoveryRequest
        Returns:
        the discovery listener; never null
        Since:
        1.6