Package org.gradle.caching

## Interface BuildCacheKey

-     public interface BuildCacheKey

  Cache key identifying an entry in the build cache.
  Since:
    3.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getDisplayName()` | Deprecated. Use `getHashCode()` instead.
    `java.lang.String` | `getHashCode()` | Returns the string representation of the cache key.
    `byte[]` | `toByteArray()` | Returns the byte array representation of the cache key.

- - ### Method Detail

    - #### getHashCode

          java.lang.String getHashCode()

      Returns the string representation of the cache key.

    - #### toByteArray

          byte[] toByteArray()

      Returns the byte array representation of the cache key.
      Since:
        5.4

    - #### getDisplayName

          @Deprecated
          java.lang.String getDisplayName()

      Deprecated.
      Use `getHashCode()` instead.
      Returns the same as `getHashCode()`.
      Since:
        8.7