Class CompositeSpec<T>
java.lang.Object
org.gradle.api.specs.CompositeSpec<T>
- Type Parameters:
T- The target type for this Spec
- All Implemented Interfaces:
Spec<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a spec with no member specs.protectedCompositeSpec(Iterable<? extends Spec<? super T>> specs) Creates a spec with the member specs of the given iterable, in iteration order.protectedCompositeSpec(Spec<? super T>... specs) Creates a spec with the given member specs, in order. -
Method Summary
Methods inherited from interface Spec
isSatisfiedBy
-
Constructor Details
-
CompositeSpec
protected CompositeSpec()Creates a spec with no member specs.- Since:
- 3.0
-
CompositeSpec
-
CompositeSpec
-
-
Method Details
-
uncheckedCast
-
getSpecsArray
-
getSpecs
-
isEmpty
public boolean isEmpty()Returns whether this spec has no member specs.- Since:
- 3.0
-
equals
-
hashCode
-
toString
-