public class ExternalLinksResolverImpl extends Object implements ExternalLinksResolver
Constructor and Description |
---|
ExternalLinksResolverImpl(com.atlassian.event.api.EventPublisher eventPublisher,
CrowdHelpPathResolver crowdHelpPathResolver) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
calculateRedirectUrl(ExternalLinkClickedEvent.TargetLink targetLink) |
Optional<String> |
getRedirectUrl(ExternalLinkClickedEvent.TargetLink targetLink)
Provides target url for a given link and logs an
ExternalLinkClickedEvent . |
public ExternalLinksResolverImpl(com.atlassian.event.api.EventPublisher eventPublisher, CrowdHelpPathResolver crowdHelpPathResolver)
public Optional<String> getRedirectUrl(ExternalLinkClickedEvent.TargetLink targetLink)
ExternalLinksResolver
ExternalLinkClickedEvent
.getRedirectUrl
in interface ExternalLinksResolver
public Optional<String> calculateRedirectUrl(ExternalLinkClickedEvent.TargetLink targetLink)
Copyright © 2020 Atlassian. All rights reserved.