Class BitbucketServerConfigurationHelper


  • public class BitbucketServerConfigurationHelper
    extends Object
    • Field Detail

      • STASH_PLUGIN_KEYS

        public static final Set<String> STASH_PLUGIN_KEYS
    • Method Detail

      • isStashRepository

        public static boolean isStashRepository​(@NotNull
                                                @NotNull VcsRepositoryData vcsRepositoryData)
      • getApplicationLinkServerKeyFromVcsData

        @Nullable
        public static @Nullable String getApplicationLinkServerKeyFromVcsData​(@NotNull
                                                                              @NotNull VcsRepositoryData stashRepositoryData)
      • getApplicationLinkFromVcsData

        @Nullable
        public static @Nullable com.atlassian.applinks.api.ApplicationLink getApplicationLinkFromVcsData​(@NotNull
                                                                                                         @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory,
                                                                                                         @NotNull
                                                                                                         @NotNull VcsRepositoryData stashRepositoryData)
      • getApplicationLinkBasedOnServerKey

        @Nullable
        public static @Nullable com.atlassian.applinks.api.ApplicationLink getApplicationLinkBasedOnServerKey​(@NotNull
                                                                                                              @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory,
                                                                                                              @Nullable
                                                                                                              @Nullable String serverKey)