spock.config
Class IncludeExcludeCriteria

java.lang.Object
  extended by spock.config.IncludeExcludeCriteria

public class IncludeExcludeCriteria
extends 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
 List<Class<? extends Annotation>> annotations
           
 List<Class<?>> baseClasses
           
 
Constructor Summary
IncludeExcludeCriteria(Class<?>... criteria)
           
 
Method Summary
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotations

public List<Class<? extends Annotation>> annotations

baseClasses

public List<Class<?>> baseClasses
Constructor Detail

IncludeExcludeCriteria

public IncludeExcludeCriteria(Class<?>... criteria)
Method Detail

isEmpty

public boolean isEmpty()