# Package-level declarations

Classes for defining general purpose criteria.

## Types

AndSpec
Link copied to clipboard
open class AndSpec<T> : CompositeSpec<T>
A org.gradle.api.specs.CompositeSpec which requires all its specs to be true in order to evaluate to true.
CompositeSpec
Link copied to clipboard
abstract class CompositeSpec<T> : Spec<T>
A org.gradle.api.specs.Spec which aggregates a sequence of other `Spec` instances.
NotSpec
Link copied to clipboard
open class NotSpec<T> : Spec<T>
A org.gradle.api.specs.Spec implementation which negates another `Spec`.
OrSpec
Link copied to clipboard
open class OrSpec<T> : CompositeSpec<T>
A CompositeSpec which requires any one of its specs to be true in order to evaluate to true.
Spec
Link copied to clipboard
interface Spec<T>
Represents some predicate against objects of type T.
Specs
Link copied to clipboard
open class Specs
Provides a number of org.gradle.api.specs.Spec implementations.