com.atlassian.applinks.spi
Interface Manifest


public interface Manifest

Describes the capabilities of a remote application. A remote application can be another Atlassian app running AppLinks 3 or higher, or something else entirely (a subversion repo, a Google docs domain, etc).

Since:
3.0

Method Summary
 org.osgi.framework.Version getAppLinksVersion()
           
 java.lang.Long getBuildNumber()
          Can return null.
 ApplicationId getId()
           
 java.util.Set<java.lang.Class<? extends AuthenticationProvider>> getInboundAuthenticationTypes()
           
 java.lang.String getName()
           
 java.util.Set<java.lang.Class<? extends AuthenticationProvider>> getOutboundAuthenticationTypes()
           
 TypeId getTypeId()
           
 java.net.URI getUrl()
           
 java.lang.String getVersion()
          The version of the application.
 

Method Detail

getId

ApplicationId getId()
Returns:
the globally unique, immutable ID of this server.

getName

java.lang.String getName()

getTypeId

TypeId getTypeId()

getVersion

java.lang.String getVersion()
The version of the application. Note that version strings formatting is not standardised. Although Atlassian applications tend to use "major.minor.micro", there can also be non-numeric components (e.g. "2.4-M2", "2.4.1.beta4", etc).

Returns:
the version of the application. Can return null.

getBuildNumber

java.lang.Long getBuildNumber()
Can return null.


getUrl

java.net.URI getUrl()

getAppLinksVersion

org.osgi.framework.Version getAppLinksVersion()
Returns:
the version of the applinks bundle installed in the remote application, or null if the remote application is not an applinks 3.0+ container

getInboundAuthenticationTypes

java.util.Set<java.lang.Class<? extends AuthenticationProvider>> getInboundAuthenticationTypes()

getOutboundAuthenticationTypes

java.util.Set<java.lang.Class<? extends AuthenticationProvider>> getOutboundAuthenticationTypes()


Copyright © 2011 Atlassian. All Rights Reserved.