Interface VcsRepositoryState

  • All Superinterfaces:
    VcsDataObject
    All Known Implementing Classes:
    RepositoryStateData

    public interface VcsRepositoryState
    extends VcsDataObject
    Represents single point of time state of a VcsRepository
    Since:
    TC 8.0
    Author:
    kir
    • Method Detail

      • getBranchRevisions

        @NotNull
        java.util.Map<java.lang.String,​java.lang.String> getBranchRevisions()
        Returns:
        VCS branch to Revision state for the repository. If the map is empty, the operation for collection of repositoryState wasn't performed as expensive
      • isEmpty

        boolean isEmpty()
        Returns:
        true if this RepositoryState doesn't contain any information, i.e. it is Null object
      • getDefaultBranchName

        @NotNull
        java.lang.String getDefaultBranchName()
        Returns:
        The branch which is considered default for the moment of changes collecting
      • getDefaultBranchRevision

        @Nullable
        java.lang.String getDefaultBranchRevision()
        Returns:
        revision for the #getDefaultBranchName branch
        Since:
        10.0