Package org.gradle.api.specs
Class Specs
java.lang.Object
org.gradle.api.specs.Specs
Provides a number of 
Spec implementations.- 
Field SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> Spec<T> convertClosureToSpec(Closure<?> closure) static <T> Spec<T> intersect(Collection<? extends Spec<? super T>> specs) Returns a spec that selects the intersection of those items selected by the given specs.static <T> Spec<T> Returns a spec that selects the intersection of those items selected by the given specs.static <T> Spec<T> Returns a spec that selects everything that is not selected by the given spec.static <T> Spec<T> static <T> Spec<T> static <T> Spec<T> union(Collection<? extends Spec<? super T>> specs) Returns a spec that selects the union of those items selected by the provided spec.static <T> Spec<T> Returns a spec that selects the union of those items selected by the provided spec.
- 
Field Details- 
SATISFIES_ALL
- 
SATISFIES_NONE
 
- 
- 
Constructor Details- 
Specspublic Specs()
 
- 
- 
Method Details- 
satisfyAll
- 
satisfyNone
- 
convertClosureToSpec
- 
intersectReturns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided.
- 
intersectReturns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided.
- 
unionReturns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided.
- 
unionReturns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided.
- 
negateReturns a spec that selects everything that is not selected by the given spec.
 
-