Interface VcsRepositoryModuleDescriptor

    • Method Detail

      • getOptionDescription

        @Nullable
        @Nullable String getOptionDescription()
        Additional description rendered in repository selection UI.
      • getIcon

        @Nullable
        @Nullable String getIcon()
        Returns IMAGE (icon) for specific repository.
        Returns:
        IMAGE path
      • getTooltipKey

        @Nullable
        @Nullable String getTooltipKey()
        Returns TRANSLATION key which is used in tooltips.
        Returns:
        TRANSLATION key
      • isPrimary

        boolean isPrimary()
        Marks repository for PRIMARY (in our case Stash & Bitbucket), is used for rendering.
      • getTagCreator

        @Nullable
        @Nullable VcsTagCreator getTagCreator()
      • getBambooSpecsHandler

        @Nullable
        default @Nullable BambooSpecsHandler getBambooSpecsHandler()
      • getVcsCommitCommenter

        @Nullable
        default @Nullable VcsCommitCommenter getVcsCommitCommenter()
      • supportsBranchDetection

        boolean supportsBranchDetection()
      • supportsBranchOverrides

        boolean supportsBranchOverrides()
      • supportsBranchCreation

        boolean supportsBranchCreation()
      • supportsTagCreation

        boolean supportsTagCreation()
      • supportsMerging

        boolean supportsMerging()
      • supportsRemoteUpdates

        boolean supportsRemoteUpdates()
      • supportsTestingConnection

        boolean supportsTestingConnection()
      • providesCustomVariables

        boolean providesCustomVariables()
      • supportsImportFromMaven

        boolean supportsImportFromMaven()
      • supportsPullRequestDetection

        default boolean supportsPullRequestDetection()
      • supportsForkedPullRequestDetection

        default boolean supportsForkedPullRequestDetection()
      • supportsCommitComment

        default boolean supportsCommitComment()
      • providesWorkingCopyStatus

        default boolean providesWorkingCopyStatus()
      • supportsBuildWarnings

        default boolean supportsBuildWarnings()
      • revisionIdsAreUnique

        boolean revisionIdsAreUnique()
        Return true for vcs systems that uses revision ids that can be considered unique. For example Git uses hashes that have low collision chance, so it follows that 2 commits with that same revision id are in fact the same commit. Subversion, on the other hand, uses cardinal numbers which are obviously not unique.
      • isDistributedVcs

        default boolean isDistributedVcs()
        Returns true if this repository type is a DVCS. In particular, this means that the repository type distinguishes between local and remote commits.
      • getTypeString

        @NotNull
        @NotNull String getTypeString()
        Returns "type" of vcs to be used for variable generation.
      • getDefaultTriggerKey

        @NotNull
        @NotNull String getDefaultTriggerKey()
        Default trigger key for this repository If none was set polling trigger key will be returned
        Returns:
        trigger key
      • getDefaultVcsViewerKey

        @NotNull
        @NotNull String getDefaultVcsViewerKey()
        Default web viewer for this repository.