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


Constructor Summary
OrSpec(Spec specs)

 
Method Summary
boolean isSatisfiedBy(T object)

 
Methods inherited from class CompositeSpec
equals, getSpecs, hashCode
 

Constructor Detail

OrSpec

public OrSpec(Spec specs)


 
Method Detail

isSatisfiedBy

public boolean isSatisfiedBy(T object)


 

Groovy Documentation