public class ApplinkStashClientFactoryImpl extends Object implements ApplinkStashClientFactory
| Constructor and Description |
|---|
ApplinkStashClientFactoryImpl(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.applinks.api.ApplicationLink |
getApplicationLink(String serverKey)
Retrieve a specific application link, does not check if its a stash link...
|
Iterable<com.atlassian.applinks.api.ApplicationLink> |
getStashApplicationLinks() |
com.atlassian.stash.rest.client.api.StashClient |
getStashClient(com.atlassian.applinks.api.ApplicationLink applicationLink,
Class<? extends com.atlassian.applinks.api.auth.AuthenticationProvider> authenticationProviderClass)
Get Stash REST client
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStashClientpublic ApplinkStashClientFactoryImpl(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
@Nonnull public Iterable<com.atlassian.applinks.api.ApplicationLink> getStashApplicationLinks()
getStashApplicationLinks in interface ApplinkStashClientFactory@Nullable public com.atlassian.applinks.api.ApplicationLink getApplicationLink(@Nonnull String serverKey)
ApplinkStashClientFactorygetApplicationLink in interface ApplinkStashClientFactoryserverKey - uuid of application link@Nonnull public com.atlassian.stash.rest.client.api.StashClient getStashClient(@Nonnull com.atlassian.applinks.api.ApplicationLink applicationLink, @Nullable Class<? extends com.atlassian.applinks.api.auth.AuthenticationProvider> authenticationProviderClass)
ApplinkStashClientFactorygetStashClient in interface ApplinkStashClientFactoryapplicationLink - Stash server to talk toauthenticationProviderClass - authentication provider, optional - to be used when there is no user available in
the request context and custom auth mechanism must be used.Copyright © 2019 Atlassian. All rights reserved.