Class BambooHostApplication
- java.lang.Object
-
- com.atlassian.applinks.host.spi.AbstractInternalHostApplication
-
- com.atlassian.bamboo.security.applinks.BambooHostApplication
-
- All Implemented Interfaces:
com.atlassian.applinks.host.spi.HostApplication
,com.atlassian.applinks.host.spi.InternalHostApplication
public class BambooHostApplication extends com.atlassian.applinks.host.spi.AbstractInternalHostApplication
-
-
Constructor Summary
Constructors Constructor Description BambooHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, ProjectManager projectManager, ProjectDao projectDao, AdministrationConfigurationAccessor administrationConfigurationAccessor, BootstrapManager bootstrapManager, com.atlassian.struts.TextProvider textProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canManageEntityLinksFor(com.atlassian.applinks.host.spi.EntityReference entityReference)
boolean
doesEntityExist(String projectKey, Class<? extends com.atlassian.applinks.api.EntityType> type)
boolean
doesEntityExistNoPermissionCheck(String key, Class<? extends com.atlassian.applinks.api.EntityType> aClass)
URI
getBaseUrl()
URI
getDocumentationBaseUrl()
com.atlassian.applinks.api.ApplicationId
getId()
Iterable<com.atlassian.applinks.host.spi.EntityReference>
getLocalEntities()
String
getName()
com.atlassian.applinks.api.ApplicationType
getType()
boolean
hasPublicSignup()
com.atlassian.applinks.host.spi.EntityReference
toEntityReference(@NotNull Object domainObject)
com.atlassian.applinks.host.spi.EntityReference
toEntityReference(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
-
-
Constructor Detail
-
BambooHostApplication
@Inject public BambooHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, ProjectManager projectManager, ProjectDao projectDao, AdministrationConfigurationAccessor administrationConfigurationAccessor, BootstrapManager bootstrapManager, com.atlassian.struts.TextProvider textProvider)
-
-
Method Detail
-
getDocumentationBaseUrl
public URI getDocumentationBaseUrl()
-
getName
public String getName()
-
getBaseUrl
public URI getBaseUrl()
-
getId
public com.atlassian.applinks.api.ApplicationId getId()
-
getType
public com.atlassian.applinks.api.ApplicationType getType()
-
hasPublicSignup
public boolean hasPublicSignup()
-
getLocalEntities
public Iterable<com.atlassian.applinks.host.spi.EntityReference> getLocalEntities()
-
toEntityReference
public com.atlassian.applinks.host.spi.EntityReference toEntityReference(@NotNull @NotNull Object domainObject)
-
toEntityReference
public com.atlassian.applinks.host.spi.EntityReference toEntityReference(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
canManageEntityLinksFor
public boolean canManageEntityLinksFor(com.atlassian.applinks.host.spi.EntityReference entityReference)
-
doesEntityExist
public boolean doesEntityExist(String projectKey, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
-