api / org.gradle.api.specs / NotSpec

NotSpec

open class NotSpec<T : Any> : Spec<T>

A org.gradle.api.specs.Spec implementation which negates another Spec.

Parameters

- The target type for this Spec

Constructors

<init>

NotSpec(sourceSpec: Spec<in T>)

Functions

isSatisfiedBy

open fun isSatisfiedBy(element: T): Boolean