Interface PartialVcsRepositoryData

    • Method Detail

      • getProjectId

        @Nullable
        @Nullable Long getProjectId()
        Specified by:
        getProjectId in interface ProjectIdProvider
        Returns:
        id of project which is associated with this repository, returns null if repository is either global or plan.
      • isMarkedForDeletion

        boolean isMarkedForDeletion()
      • isLinked

        boolean isLinked()
      • isShared

        boolean isShared()
      • isRootVcsLinked

        boolean isRootVcsLinked()
        Returns:
        true if this repository is a linked repository or inherits data (possibly indirectly) from a linked repository
      • isRootVcsProjectRepository

        boolean isRootVcsProjectRepository()
        Returns:
        true if this repository is a project repository or inherits data (possibly indirectly) from a project repository
      • isRootVcsShared

        boolean isRootVcsShared()
        Returns:
        true if this repository is either linked or project repository or inherits data (possibly indirectly) from a shared repository
      • isLegacyRepository

        @Deprecated
        boolean isLegacyRepository()
        Deprecated.
        since 5.14 for backward compatibility only
        Returns:
        true if underlying repository is implemented with old API
      • asLegacyData

        @Deprecated
        @NotNull
        @NotNull RepositoryData asLegacyData()
        Deprecated.
        since 5.14 for backward compatibility only
        Returns:
        this object in old format.
      • getInheritedData

        @Nullable
        @Nullable VcsRepositoryData getInheritedData()
        Complete view on a configuration of a parent repository or null if there's no parent.
      • getCompleteData

        @NotNull
        @NotNull VcsRepositoryData getCompleteData()
        Complete view on this configuration.
      • getParentId

        @Nullable
        @Nullable Long getParentId()
        Get id of the repository this inherits data from or null if none.
      • getParentOid

        @Nullable
        @Nullable BambooEntityOid getParentOid()
        Get oid of the repository this inherits data from or null if none.
        Since:
        6.0
      • getRootVcsRepositoryId

        long getRootVcsRepositoryId()
        Get id of the repository that is the root of the hierarchy this repository belongs to. Returns repository id if this repository is the root.
      • overridesLocation

        boolean overridesLocation()
      • overridesBranch

        boolean overridesBranch()
      • overridesChangeDetectionOptions

        boolean overridesChangeDetectionOptions()
      • overridesBranchDetectionOptions

        boolean overridesBranchDetectionOptions()