# CompositeSpec

abstract class CompositeSpec<T> : Spec<T> (source)

A org.gradle.api.specs.Spec which aggregates a sequence of other `Spec` instances.

#### Since

0.7

#### Parameters

<T>

The target type for this Spec

#### Inheritors

OrSpec
AndSpec

## Functions

equals
Link copied to clipboard
fun equals(o: Any): Boolean
getSpecs
Link copied to clipboard
open fun getSpecs(): List<Spec<in T>>
Returns the specs.
hashCode
Link copied to clipboard
fun hashCode(): Int
invoke
Link copied to clipboard
operator fun <T> Spec<T>.invoke(arg: T): Boolean

Enables function invocation syntax on Spec instances.

isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean
Returns whether empty is set.
isSatisfiedBy
Link copied to clipboard
abstract fun isSatisfiedBy(element: T): Boolean
Returns whether satisfied by is set.