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
Methods inherited from class org.gradle.api.specs.CompositeSpec
equals, getSpecs, isEmpty
-
Field Details
-
EMPTY
-
-
Constructor Details
-
AndSpec
public AndSpec() -
AndSpec
-
AndSpec
-
-
Method Details
-
isSatisfiedBy
-
and
-
and
Typed and() method for a singleSpec
.- Since:
- 4.3
-
and
-
empty
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCompositeSpec<T>
-