Package com.atlassian.applinks.api
Interface ApplicationType
- All Known Subinterfaces:
BambooApplicationType,BitbucketApplicationType,ConfluenceApplicationType,CrowdApplicationType,FishEyeCrucibleApplicationType,GenericApplicationType,JiraApplicationType,RefAppApplicationType,StashApplicationType
@PublicSpi
public interface ApplicationType
Represents the type of an
ApplicationLink.
See the com.atlassian.applinks.api.application package for a list of ApplicationTypes bundled
with the Unified Application Links plugin. Additional types can be added via the extension APIs in the
applinks-spi module.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Taccept(ApplicationTypeVisitor<T> visitor) Accepts a visitor of the typeApplicationTypeVisitor.Deprecated.for removal in 6.0.
-
Method Details
-
getI18nKey
- Returns:
- the key of an internationalised display name of the type e.g. "FishEye / Crucible". You can resolve
this key using the
I18nResolvercomponent provided by the SAL plugin.
-
getIconUrl
Deprecated.for removal in 6.0. Application Types should implementIconizedTypeinapplinks-spiinstead- Returns:
- the 16x16px icon URI for this type or
nullif an icon is not available. - Since:
- 3.1
-
accept
Accepts a visitor of the typeApplicationTypeVisitor.- Parameters:
visitor- visitor to accept- Returns:
- the result of the visitor for current applicationType.
- Since:
- 6.1
-