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(java.lang.Object object)

 
Methods inherited from class CompositeSpec
equals, getSpecs, hashCode
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

OrSpec

public OrSpec(Spec... specs)


 
Method Detail

isSatisfiedBy

public boolean isSatisfiedBy(java.lang.Object object)


 

Groovy Documentation