com.atlassian.confluence.plugins.emailgateway.linkconverter.instances
Class ConfluenceLinkConverter

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.api.BaseLinkConverter<java.lang.Object>
      extended by com.atlassian.confluence.plugins.emailgateway.linkconverter.instances.ConfluenceLinkConverter
All Implemented Interfaces:
LinkConverter<java.lang.Object,Link>

public class ConfluenceLinkConverter
extends BaseLinkConverter<java.lang.Object>

Converts links to content in this Confluence instance into local links.

Since:
5.3

Constructor Summary
ConfluenceLinkConverter(SettingsManager settingsManager, UserAccessor userAccessor)
           
 
Method Summary
 Link convert(java.net.URL link, LinkBody<java.lang.Object> linkBody)
           
 
Methods inherited from class com.atlassian.confluence.plugins.emailgateway.api.BaseLinkConverter
getConversionClass, isFinal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceLinkConverter

public ConfluenceLinkConverter(SettingsManager settingsManager,
                               UserAccessor userAccessor)
Method Detail

convert

public Link convert(java.net.URL link,
                    LinkBody<java.lang.Object> linkBody)
Parameters:
link - the URL that the link points to
linkBody - the text or other content that the link displays
Returns:
the passed link, converted to the correct Object type


Copyright © 2003-2014 Atlassian. All Rights Reserved.