Package com.atlassian.crowd.licensing
Class AppLinkPoweredPanopticonRestClient
java.lang.Object
com.atlassian.crowd.licensing.AppLinkPoweredPanopticonRestClient
- All Implemented Interfaces:
PanopticonRestClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAppLinkPoweredPanopticonRestClient(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.SynchronizableVersionInfoEntityboolean
-
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:
fetchLicenseTierInfoin interfacePanopticonRestClient- Throws:
com.atlassian.applinks.api.CredentialsRequiredExceptionIOExceptioncom.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:
fetchDirectoryInfoin interfacePanopticonRestClient- Throws:
com.atlassian.sal.api.net.ResponseExceptioncom.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:
fetchVersionInfoin interfacePanopticonRestClient- Throws:
com.atlassian.applinks.api.CredentialsRequiredExceptionIOExceptioncom.atlassian.sal.api.net.ResponseException
-
fetchUsers
public Iterator<com.atlassian.plugins.license.entity.LicensedUserInfoEntity> fetchUsers(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) - Specified by:
fetchUsersin interfacePanopticonRestClient
-
isPanopticonResponding
public boolean isPanopticonResponding() throws com.atlassian.applinks.api.CredentialsRequiredException- Specified by:
isPanopticonRespondingin interfacePanopticonRestClient- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
-