Package com.atlassian.crowd.licensing
Class AppLinkPoweredPanopticonRestClient
java.lang.Object
com.atlassian.crowd.licensing.AppLinkPoweredPanopticonRestClient
- All Implemented Interfaces:
PanopticonRestClient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAppLinkPoweredPanopticonRestClient
(com.atlassian.applinks.api.ApplicationLinkRequestFactory requestFactory) -
Method Summary
Modifier and TypeMethodDescriptionList<com.atlassian.plugins.license.entity.DirectoryInformationEntity>
fetchDirectoryInfo
(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) List<com.atlassian.plugins.license.entity.LicenseTierInfoEntity>
Iterator<com.atlassian.plugins.license.entity.LicensedUserInfoEntity>
fetchUsers
(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity
boolean
-
Field Details
-
PLUGIN_BASE_URL
- See Also:
-
-
Constructor Details
-
AppLinkPoweredPanopticonRestClient
public AppLinkPoweredPanopticonRestClient(@Nonnull com.atlassian.applinks.api.ApplicationLinkRequestFactory requestFactory)
-
-
Method Details
-
fetchLicenseTierInfo
public List<com.atlassian.plugins.license.entity.LicenseTierInfoEntity> fetchLicenseTierInfo() throws com.atlassian.applinks.api.CredentialsRequiredException, IOException, com.atlassian.sal.api.net.ResponseException- Specified by:
fetchLicenseTierInfo
in interfacePanopticonRestClient
- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
IOException
com.atlassian.sal.api.net.ResponseException
-
fetchDirectoryInfo
public List<com.atlassian.plugins.license.entity.DirectoryInformationEntity> fetchDirectoryInfo(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) throws com.atlassian.sal.api.net.ResponseException, com.atlassian.applinks.api.CredentialsRequiredException - Specified by:
fetchDirectoryInfo
in interfacePanopticonRestClient
- Throws:
com.atlassian.sal.api.net.ResponseException
com.atlassian.applinks.api.CredentialsRequiredException
-
fetchVersionInfo
public com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity fetchVersionInfo() throws com.atlassian.applinks.api.CredentialsRequiredException, IOException, com.atlassian.sal.api.net.ResponseException- Specified by:
fetchVersionInfo
in interfacePanopticonRestClient
- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
IOException
com.atlassian.sal.api.net.ResponseException
-
fetchUsers
public Iterator<com.atlassian.plugins.license.entity.LicensedUserInfoEntity> fetchUsers(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) - Specified by:
fetchUsers
in interfacePanopticonRestClient
-
isPanopticonResponding
public boolean isPanopticonResponding() throws com.atlassian.applinks.api.CredentialsRequiredException- Specified by:
isPanopticonResponding
in interfacePanopticonRestClient
- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
-