Interface EngineDiscoveryRequest

    • Method Detail

      • getSelectorsByType

        <T extends DiscoverySelector> java.util.List<T> getSelectorsByType​(java.lang.Class<T> selectorType)
        Get the DiscoverySelectors for this request, filtered by a particular type.
        Parameters:
        selectorType - the type of DiscoverySelector to filter by
        Returns:
        all selectors of this request that are instances of selectorType
      • getFiltersByType

        <T extends DiscoveryFilter<?>> java.util.List<T> getFiltersByType​(java.lang.Class<T> filterType)
        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.

        Parameters:
        filterType - the type of DiscoveryFilter to filter by
        Returns:
        all filters of this request that are instances of filterType