public interface ApplicationManager
Applications (e.g. Service Desk) installed on the underlying platform (e.g. JIRA).
Unless otherwise noted none of the parameters or return values can be null.| Modifier and Type | Method and Description |
|---|---|
io.atlassian.fugue.Option<ApplicationAccess> |
getAccess(ApplicationKey key)
Get the
ApplicationAccess associated with the passed application,
or Option.none() if there is no Application installed with the passed key. |
io.atlassian.fugue.Option<Application> |
getApplication(ApplicationKey key)
Return the installed
Application with the passed key. |
<A extends Application> |
getApplication(ApplicationKey key,
Class<A> type)
Return the installed
Application associated with the passed
ApplicationKey if it is of the correct type. |
Iterable<Application> |
getApplications()
Return all the
Applications installed on the platform. |
PlatformApplication |
getPlatform()
Return the
PlatformApplication that represents the Platform. |
PlatformApplication getPlatform()
PlatformApplication that represents the Platform.PlatformApplication that represents the Platform.Iterable<Application> getApplications()
Applications installed on the platform. This will include the
PlatformApplication. An application may or may not be licensed.Applications installed on the platform.io.atlassian.fugue.Option<Application> getApplication(ApplicationKey key)
Application with the passed key. Option.none()
is returned to indicate that the Application is not installed.key - the key to search for.Application with the passed key or Option.none() if no such
Application exists.<A extends Application> io.atlassian.fugue.Option<A> getApplication(ApplicationKey key, Class<A> type)
Application associated with the passed
ApplicationKey if it is of the correct type. Option.none()
is returned to indicate no match.A - the type of Application to return.key - the key to search for.type - the type of Application to return.Application with the passed key and type or Option.none() if
no such Application exists.io.atlassian.fugue.Option<ApplicationAccess> getAccess(ApplicationKey key)
ApplicationAccess associated with the passed application,
or Option.none() if there is no Application installed with the passed key.key - the key to search for.ApplicationAccess associated with the passed key.Copyright © 2018 Atlassian. All rights reserved.