NotSpec (Gradle API 2.9)
Date: 2015-11-17

Package: org.gradle.api.specs

## [Java] Class NotSpec<T>

- org.gradle.api.specs.NotSpec

- All Implemented Interfaces and Traits:
    Spec

      public class NotSpec
      extends Object

  A Spec implementation which negates another `Spec`.

  Parameters:
    `` - The target type for this Spec

- - ### Constructor Summary

    Constructors
    Constructor and description
    `NotSpec (Spec<? super T> sourceSpec)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `boolean` | `isSatisfiedBy(T element)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public NotSpec(Spec<? super T> sourceSpec)

  - ### Method Detail

    - #### public boolean isSatisfiedBy(T element)