interface Spec<T : Any>
Represents some predicate against objects of type T.
- The target type for this Spec
abstract fun isSatisfiedBy(element: T): Boolean |
operator fun <T> Spec<T>.invoke(arg: T): Boolean
Enables function invocation syntax on Spec instances. |
abstract class CompositeSpec<T : Any> : Spec<T>
A org.gradle.api.specs.Spec which aggregates a sequence of other |
|
open class NotSpec<T : Any> : Spec<T>
A org.gradle.api.specs.Spec implementation which negates another |