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.


Field Summary
static Spec SATISFIES_ALL

static Spec SATISFIES_NONE

 
Method Summary
static AndSpec and(Spec... specs)

static Spec convertClosureToSpec(Closure closure)

static Set filterIterable(Iterable iterable, Spec spec)

static NotSpec not(Spec spec)

static OrSpec or(Spec... specs)

static Spec or(boolean defaultWhenNoSpecs, List specs)

static Spec satisfyAll()

static Spec satisfyNone()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

SATISFIES_ALL

public static final Spec SATISFIES_ALL


SATISFIES_NONE

public static final Spec SATISFIES_NONE


 
Method Detail

and

public static AndSpec and(Spec... specs)


convertClosureToSpec

public static Spec convertClosureToSpec(Closure closure)


filterIterable

public static Set filterIterable(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, List specs)


satisfyAll

public static Spec satisfyAll()


satisfyNone

public static Spec satisfyNone()


 

Gradle API 1.12