public class

FishEyeCrucibleProjectEntityTypeImpl

extends IconizedIdentifiableType
implements FishEyeCrucibleProjectEntityType NonAppLinksEntityType
java.lang.Object
   ↳ com.atlassian.applinks.application.IconizedIdentifiableType
     ↳ com.atlassian.applinks.application.fecru.FishEyeCrucibleProjectEntityTypeImpl

Summary

[Expand]
Inherited Fields
From class com.atlassian.applinks.application.IconizedIdentifiableType
Public Constructors
FishEyeCrucibleProjectEntityTypeImpl(AppLinkPluginUtil pluginUtil, WebResourceManager webResourceManager)
Public Methods
Class<? extends ApplicationType> getApplicationType()
URI getDisplayUrl(ApplicationLink link, String project)

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

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

Public Constructors

public FishEyeCrucibleProjectEntityTypeImpl (AppLinkPluginUtil pluginUtil, WebResourceManager webResourceManager)

Public Methods

public Class<? extends ApplicationType> getApplicationType ()

public URI getDisplayUrl (ApplicationLink link, String project)

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.
project 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 TypeId getId ()

public String getPluralizedI18nKey ()

public String getShortenedI18nKey ()