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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull io.atlassian.fugue.Either<javax.ws.rs.core.Response,com.atlassian.stash.rest.client.api.StashClient>
getStashClient(String serverKey)
@NotNull io.atlassian.fugue.Either<String,com.atlassian.stash.rest.client.api.StashClient>
getStashClientWithPlainResponse(String serverKey)
-
-
-
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)
-
-