CancellationToken (Gradle API 4.10.2)
Date: 2018-09-19

org.gradle.tooling

## Interface CancellationToken

-     public interface CancellationToken

  Token that propagates notification that an operation should be cancelled. See `CancellationTokenSource` for details.

  All implementations of this interface are required to be thread safe.

  Since:
    2.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isCancellationRequested()` Gets whether cancellation has been requested for this token.

- - ### Method Detail

    - #### isCancellationRequested

          boolean isCancellationRequested()

      Gets whether cancellation has been requested for this token.
      Returns:
        Cancellation status.