Class StashClientProvider


  • public class StashClientProvider
    extends Object
    • Constructor Detail

      • StashClientProvider

        @Inject
        public StashClientProvider​(com.atlassian.sal.api.message.I18nResolver i18nResolver,
                                   com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory,
                                   com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager authenticationConfigurationManager)
    • Method Detail

      • getStashClient

        @NotNull
        public @NotNull io.atlassian.fugue.Either<javax.ws.rs.core.Response,​com.atlassian.stash.rest.client.api.StashClient> getStashClient​(String serverKey)
      • getStashClientWithPlainResponse

        @NotNull
        public @NotNull io.atlassian.fugue.Either<String,​com.atlassian.stash.rest.client.api.StashClient> getStashClientWithPlainResponse​(String serverKey)