Class EngineFilter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  EngineFilter.Type  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EngineFilter​(java.util.List<java.lang.String> engineIds, EngineFilter.Type type)  
    • Field Detail

      • engineIds

        private final java.util.List<java.lang.String> engineIds
    • Constructor Detail

      • EngineFilter

        private EngineFilter​(java.util.List<java.lang.String> engineIds,
                             EngineFilter.Type type)
    • Method Detail

      • includeEngines

        public static EngineFilter includeEngines​(java.lang.String... engineIds)
        Create a new include EngineFilter based on the supplied engine IDs.

        Only TestEngines with matching engine IDs will be included within the test discovery and execution.

        Parameters:
        engineIds - the list of engine IDs to match against; never null or empty; individual IDs must also not be null or blank
        See Also:
        includeEngines(String...)
      • includeEngines

        public static EngineFilter includeEngines​(java.util.List<java.lang.String> engineIds)
        Create a new include EngineFilter based on the supplied engine IDs.

        Only TestEngines with matching engine IDs will be included within the test discovery and execution.

        Parameters:
        engineIds - the list of engine IDs to match against; never null or empty; individual IDs must also not be null or blank
        See Also:
        includeEngines(String...)
      • excludeEngines

        public static EngineFilter excludeEngines​(java.lang.String... engineIds)
        Create a new exclude EngineFilter based on the supplied engine IDs.

        TestEngines with matching engine IDs will be excluded from test discovery and execution.

        Parameters:
        engineIds - the list of engine IDs to match against; never null or empty; individual IDs must also not be null or blank
        See Also:
        excludeEngines(List)
      • excludeEngines

        public static EngineFilter excludeEngines​(java.util.List<java.lang.String> engineIds)
        Create a new exclude EngineFilter based on the supplied engine IDs.

        TestEngines with matching engine IDs will be excluded from test discovery and execution.

        Parameters:
        engineIds - the list of engine IDs to match against; never null or empty; individual IDs must also not be null or blank
        See Also:
        includeEngines(String...)
      • getEngineIds

        @API(status=INTERNAL,
             since="1.9")
        public java.util.List<java.lang.String> getEngineIds()
      • isIncludeFilter

        @API(status=INTERNAL,
             since="1.9")
        public boolean isIncludeFilter()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateAndTrim

        private static java.util.List<java.lang.String> validateAndTrim​(java.util.List<java.lang.String> engineIds)