Groovy Documentation

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

java.lang.Object
  org.gradle.api.specs.CompositeSpec
      org.gradle.api.specs.AndSpec

public class AndSpec
extends CompositeSpec

A CompositeSpec which requires all its specs to be true in order to evaluate to true. Uses lazy evaluation.

Parameters:
- The target type for this Spec


Constructor Summary
AndSpec(Spec... specs)

AndSpec(Iterable specs)

 
Method Summary
AndSpec and(Spec... specs)

AndSpec and(Closure spec)

boolean isSatisfiedBy(Object object)

 
Methods inherited from class CompositeSpec
equals, getSpecs, hashCode
 

Constructor Detail

AndSpec

public AndSpec(Spec... specs)


AndSpec

public AndSpec(Iterable specs)


 
Method Detail

and

public AndSpec and(Spec... specs)


and

public AndSpec and(Closure spec)


isSatisfiedBy

public boolean isSatisfiedBy(Object object)


 

Gradle API 1.12