public interface Application
An application may be implemented as a group of plugins PluginApplication
or a fundamental part of the platform PlatformApplication or by some other
yet to be determined means.
None of the parameters or return values can be null (unless noted otherwise).
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
buildDate()
Return the build date of the application.
|
void |
clearConfiguration()
Clear (remove) application's configuration.
|
ApplicationAccess |
getAccess()
Return the
ApplicationAccess associated with the application. |
io.atlassian.fugue.Option<URI> |
getConfigurationURI()
Get the relative URI for the configuration of the application.
|
String |
getDefaultGroup()
Get the default user group defined for the application.
|
String |
getDescription()
Get the description of the application.
|
ApplicationKey |
getKey()
Return the
ApplicationKey associated with the application. |
io.atlassian.fugue.Option<com.atlassian.sal.api.license.SingleProductLicenseDetailsView> |
getLicense()
Return the license associated with the application.
|
String |
getName()
Get the name of the application.
|
io.atlassian.fugue.Option<URI> |
getPostInstallURI()
Get the relative URI to show after the application is installed.
|
io.atlassian.fugue.Option<URI> |
getPostUpdateURI()
Get the relative URI to show after the application is updated.
|
io.atlassian.fugue.Option<URI> |
getProductHelpCloudSpaceURI()
Returns relative URI to use as target space for product user helplinks in cloud.
|
io.atlassian.fugue.Option<URI> |
getProductHelpServerSpaceURI()
Returns relative URI to use as target space for product user helplinks.
|
String |
getUserCountDescription(io.atlassian.fugue.Option<Integer> count)
Returns the internationalised description for the passed number of users.
|
String |
getVersion()
Get the version of the application.
|
ApplicationKey getKey()
ApplicationKey associated with the application.ApplicationKey associated with the application.String getName()
String getDescription()
The description should be internationalised for the calling user.
String getVersion()
In the case of plugin applications, this will be the version of the primary plugin.
String getUserCountDescription(io.atlassian.fugue.Option<Integer> count)
count.
The returned value is expected to be in lowercase and internationalised for the calling user.
count - the number of users to generate the description for. Option.none() can be passed to get the
description of an unlimited number of users.io.atlassian.fugue.Option<URI> getConfigurationURI()
Option.none() can be returned to indicate that there is no configuration path.
Option.none() if no such path exists.io.atlassian.fugue.Option<URI> getPostInstallURI()
Option.none() can be returned to indicate that there is no path.
Option.none() if no such path exists.io.atlassian.fugue.Option<URI> getPostUpdateURI()
Option.none() can be returned to indicate that there is no path.
Option.none() if no such path exists.io.atlassian.fugue.Option<URI> getProductHelpServerSpaceURI()
Option.none() can be returned to indicate that there is no server help space.
Option.none() if no such space exists.io.atlassian.fugue.Option<URI> getProductHelpCloudSpaceURI()
Option.none() can be returned to indicate that there is no cloud help space.
Option.none() if no such space exists.org.joda.time.DateTime buildDate()
io.atlassian.fugue.Option<com.atlassian.sal.api.license.SingleProductLicenseDetailsView> getLicense()
Option.none() will be returned
if no such license exists (aka the application is unlicensed).Option.none() if no such
license exists.ApplicationAccess getAccess()
ApplicationAccess associated with the application.ApplicationAccess associated with the Application.String getDefaultGroup()
void clearConfiguration()
Copyright © 2018 Atlassian. All rights reserved.