public class

SubversionPathEntityType

extends Object
implements NonAppLinksEntityType
java.lang.Object
   ↳ com.atlassian.applinks.application.subversion.SubversionPathEntityType

Summary

Public Constructors
SubversionPathEntityType()
Public Methods
Class<? extends ApplicationType> getApplicationType()
URI getDisplayUrl(ApplicationLink link, String path)

Given an ApplicationLink and the key of an entity on that peer, this method returns that entity's "display URL".

String getI18nKey()
URI getIconUrl()
TypeId getId()
String getPluralizedI18nKey()
String getShortenedI18nKey()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.applinks.api.EntityType
From interface com.atlassian.applinks.spi.application.IdentifiableType

Public Constructors

public SubversionPathEntityType ()

Public Methods

public Class<? extends ApplicationType> getApplicationType ()

public URI getDisplayUrl (ApplicationLink link, String path)

Given an ApplicationLink and the key of an entity on that peer, this method returns that entity's "display URL". This would typically be the address where a user's browser is sent to when it follows the entity link.

Note that the caller does not guarantee that the specified entity key actually exists.

The implementation of this method is stringly recommended not to contact the peer either for validation of the supplied entity key, or help creating the display URL, as this method can be called multiple times during a page render.

Parameters
link the link MUST be of the same type as getApplicationType() or the result is unspecified.
path the key of an enitity on the remote system.
Returns
  • the (remote) url for the specified entity key, or null when such URL is not available.

public String getI18nKey ()

public URI getIconUrl ()

public TypeId getId ()

public String getPluralizedI18nKey ()

public String getShortenedI18nKey ()