Groovy Documentation

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

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

public class OrSpec
extends CompositeSpec

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

Parameters:
- The target type for this Spec


Constructor Summary
OrSpec(Spec... specs)

OrSpec(Iterable specs)

 
Method Summary
boolean isSatisfiedBy(Object object)

 
Methods inherited from class CompositeSpec
equals, getSpecs, hashCode
 

Constructor Detail

OrSpec

public OrSpec(Spec... specs)


OrSpec

public OrSpec(Iterable specs)


 
Method Detail

isSatisfiedBy

public boolean isSatisfiedBy(Object object)


 

Gradle API 1.12