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 newCompositeSpec.protectedCompositeSpec(Iterable<? extends Spec<? super T>> specs) Creates a newCompositeSpec.protectedCompositeSpec(Spec<? super T>... specs) Creates a newCompositeSpec. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetSpecs()Returns the specs.final inthashCode()booleanisEmpty()Returns whether empty is set.(package private) static <T> TuncheckedCast(Object object) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Spec
isSatisfiedBy
-
Constructor Details
-
CompositeSpec
protected CompositeSpec()Creates a newCompositeSpec.- Since:
- 3.0
-
CompositeSpec
-
CompositeSpec
-
-
Method Details
-
uncheckedCast
-
getSpecsArray
-
getSpecs
-
isEmpty
public boolean isEmpty()Returns whether empty is set.- Since:
- 3.0
-
equals
-
hashCode
-