Class StashClientProvider

java.lang.Object
com.atlassian.bamboo.plugins.stash.rest.common.StashClientProvider

public class StashClientProvider extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    StashClientProvider(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory, com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager authenticationConfigurationManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull io.atlassian.fugue.Either<javax.ws.rs.core.Response,com.atlassian.stash.rest.client.api.StashClient>
     
    @NotNull io.atlassian.fugue.Either<String,com.atlassian.stash.rest.client.api.StashClient>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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)