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
Authors:
Hans Dockter


Constructor Summary
AndSpec(Spec specs)

AndSpec(java.lang.Iterable specs)

 
Method Summary
AndSpec and(Spec specs)

AndSpec and(groovy.lang.Closure spec)

boolean isSatisfiedBy(T object)

 
Methods inherited from class CompositeSpec
equals, getSpecs, hashCode
 

Constructor Detail

AndSpec

public AndSpec(Spec specs)


AndSpec

public AndSpec(java.lang.Iterable specs)


 
Method Detail

and

public AndSpec and(Spec specs)


and

public AndSpec and(groovy.lang.Closure spec)


isSatisfiedBy

public boolean isSatisfiedBy(T object)


 

Groovy Documentation