Package org.gradle.api.specs
Class AndSpec<T>
java.lang.Object
org.gradle.api.specs.CompositeSpec<T>
org.gradle.api.specs.AndSpec<T>
- Type Parameters:
T
- The target type for this Spec
- All Implemented Interfaces:
Spec<T>
A
CompositeSpec
which requires all its specs to be true in order to evaluate to true.
Uses lazy evaluation.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTyped and() method for a singleSpec
.static <T> AndSpec<T>
empty()
findUnsatisfiedSpec
(T object) Finds the firstSpec
that is not satisfied by the object.boolean
isSatisfiedBy
(T object) Methods inherited from class org.gradle.api.specs.CompositeSpec
equals, getSpecs, hashCode, isEmpty
-
Field Details
-
EMPTY
-
-
Constructor Details
-
AndSpec
public AndSpec() -
AndSpec
-
AndSpec
-
-
Method Details