Interface VcsLocationIndexKey

All Known Implementing Classes:
BitbucketCloudRepositoryIndexKey, BitbucketServerIndexKey, GitHubRepositoryIndexKey

@ExperimentalApi public interface VcsLocationIndexKey
Empty interface representing key of a VcsLocationDefinition in CachedRepositoryDefinitionManager. The implementations are used to quickly search for VcsLocationDefinition in repository cache.

The implementation must have the following characteristics:

  • it must identify vcs location uniquely
  • if 2 repository objects represent different branches of the same repository, the key must be equal
  • implementations must provide equals() and hashCode()
  • equals() and hashCode() must check the runtime type of the key

Since:
12.0