open class Specs
Provides a number of org.gradle.api.specs.Spec implementations.
Specs()
Provides a number of org.gradle.api.specs.Spec implementations. |
static val SATISFIES_ALL: Spec<Any> |
|
static val SATISFIES_NONE: Spec<Any> |
open static fun <T : Any> convertClosureToSpec(closure: Closure<Any>): Spec<T> |
|
open static fun <T : Any> intersect(vararg specs: Spec<in T>): Spec<T> open static fun <T : Any> intersect(specs: MutableCollection<out Spec<in T>>): Spec<T>
Returns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided. |
|
open static fun <T : Any> negate(spec: Spec<in T>): Spec<T>
Returns a spec that selects everything that is not selected by the given spec. |
|
open static fun <T : Any> satisfyAll(): Spec<T> |
|
open static fun <T : Any> satisfyNone(): Spec<T> |
|
open static fun <T : Any> union(vararg specs: Spec<in T>): Spec<T> open static fun <T : Any> union(specs: MutableCollection<out Spec<in T>>): Spec<T>
Returns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided. |