Package spock.config

Class IncludeExcludeCriteria


  • public class IncludeExcludeCriteria
    extends java.lang.Object
    Configuration indicating which specs and methods should be included/excluded from a spec run. Specs can be included/excluded based on their annotations and their (base) classes. Methods can be included/excluded based on their annotations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> annotations  
      java.util.List<java.lang.Class<?>> baseClasses  
    • Constructor Summary

      Constructors 
      Constructor Description
      IncludeExcludeCriteria​(java.lang.Class<?>... criteria)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEmpty()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • annotations

        public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> annotations
      • baseClasses

        public java.util.List<java.lang.Class<?>> baseClasses
    • Constructor Detail

      • IncludeExcludeCriteria

        public IncludeExcludeCriteria​(java.lang.Class<?>... criteria)
    • Method Detail

      • isEmpty

        public boolean isEmpty()