Class GitCacheKeyImpl

java.lang.Object
com.atlassian.bamboo.repository.git.cache.GitCacheKeyImpl
All Implemented Interfaces:
GitCacheKey

public class GitCacheKeyImpl extends Object implements GitCacheKey
  • Constructor Details

    • GitCacheKeyImpl

      public GitCacheKeyImpl(@NotNull @NotNull String[] keyComponents)
  • Method Details

    • calculateAggregateSha

      @NotNull public @NotNull String calculateAggregateSha()
      Description copied from interface: GitCacheKey
      Computes an aggregate SHA based on the key components. This SHA is used to uniquely identify the access path of the Git repository cache.
      Specified by:
      calculateAggregateSha in interface GitCacheKey
      Returns:
      a string representing the computed aggregate SHA
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object