Interface VcsRootIdentityProvider

    • Method Detail

      • getVcsRootIdentity

        @NotNull
        String getVcsRootIdentity​(@NotNull
                                  VcsRoot vcsRoot)
                           throws VcsException
        For the provided VCS root calculate identity, which can be used by TeamCity core to decide if two VCS root represent the same or different repositories
        Parameters:
        vcsRoot - VCS Root to get identity for
        Returns:
        see above
        Throws:
        VcsException - in case of VCS problem
      • getDefaultBranchName

        @Nullable
        String getDefaultBranchName​(@NotNull
                                    VcsRoot vcsRoot)
        Returns:
        which branch should be treated as default to be used by TeamCity core e.g. to compare current states or null if not applicable