Class StashClientProvider
java.lang.Object
com.atlassian.bamboo.plugins.stash.rest.common.StashClientProvider
-
Constructor Summary
ConstructorDescriptionStashClientProvider
(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 TypeMethodDescription@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 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
-