Groovy Documentation

org.gradle.api.specs
[Java] Class Specs

java.lang.Object
  org.gradle.api.specs.Specs

public class Specs

Provides a number of Spec implementations.

Authors:
Hans Dockter


Field Summary
static Spec SATISFIES_ALL

 
Method Summary
static AndSpec and(Spec specs)

static Spec convertClosureToSpec(groovy.lang.Closure cl)

static java.util.Set filterIterable(java.lang.Iterable iterable, Spec spec)

static NotSpec not(Spec spec)

static OrSpec or(Spec specs)

static Spec or(boolean defaultWhenNoSpecs, java.util.List specs)

static Spec satisfyAll()

static Spec satisfyNone()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

SATISFIES_ALL

public static final Spec SATISFIES_ALL


 
Method Detail

and

public static AndSpec and(Spec specs)


convertClosureToSpec

public static Spec convertClosureToSpec(groovy.lang.Closure cl)


filterIterable

public static java.util.Set filterIterable(java.lang.Iterable iterable, Spec spec)


not

public static NotSpec not(Spec spec)


or

public static OrSpec or(Spec specs)


or

public static Spec or(boolean defaultWhenNoSpecs, java.util.List specs)


satisfyAll

public static Spec satisfyAll()


satisfyNone

public static Spec satisfyNone()


 

Groovy Documentation